When I use the project wizard select wxwidgets project, then use wxsmith with frame base.
I add a panel, then go to advance and select wxgl canvas and add that, but when I run it I get that error.
Every other object seems to work fine, it's just when I add the wlcanvas.