Fix wxGLPanel for wx2.8