Paint Program in C++ with openGL and wxWidgets