]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/cube/cube.cpp
ODBC update
[wxWidgets.git] / samples / opengl / cube / cube.cpp
index 7bab5df2133f8c100b18fd6ae513d9fd14260f1e..cf6c3818d936de319976c57ab5d4709f0e89638f 100644 (file)
@@ -357,7 +357,7 @@ void TestGLCanvas::Action( long code, unsigned long lasttime,
 
 void TestGLCanvas::OnKeyDown( wxKeyEvent& event )
 {
-    long evkey = event.KeyCode();
+    long evkey = event.GetKeyCode();
     if (evkey == 0) return;
 
     if (!m_TimeInitialized)