]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/isosurf/isosurf.cpp
added library target to regen only lib makefiles
[wxWidgets.git] / samples / opengl / isosurf / isosurf.cpp
index 895c3d44e3ad623a29f98c334f73860bddde2343..9e474230f13502ffceebbbdc36bcb3e94f5a523d 100644 (file)
@@ -379,7 +379,7 @@ void TestGLCanvas::OnSize(wxSizeEvent& event)
 
 void TestGLCanvas::OnChar(wxKeyEvent& event)
 {
 
 void TestGLCanvas::OnChar(wxKeyEvent& event)
 {
-    switch(event.KeyCode()) {
+    switch(event.GetKeyCode()) {
     case WXK_ESCAPE:
     exit(0);
     case WXK_LEFT:
     case WXK_ESCAPE:
     exit(0);
     case WXK_LEFT: