opengl basic support

some minor changes, migrate to wxpytohn 2.9
add basic support for opengl 3.0.