Don't call OpenGL functions until the wxGLContext has been created.