Inegrated OpenGL (GLEW) and wxWidgets in a smarter way.