]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.cpp
added (woefully incomplete) Japanese translations
[wxWidgets.git] / samples / treectrl / treetest.cpp
index cbdf952ce877db062aec722602a36c710bfd296c..23370be0a32e37a5cf225dda9d60bca5e8592798 100644 (file)
@@ -854,7 +854,7 @@ TREE_EVENT_HANDLER(OnSelChanging)
 void LogKeyEvent(const wxChar *name, const wxKeyEvent& event)
 {
     wxString key;
-    long keycode = event.KeyCode();
+    long keycode = event.GetKeyCode();
     {
         switch ( keycode )
         {