]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix a typo in wxKeyEvent::GetKeyCode() code example.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Jan 2013 17:59:13 +0000 (17:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Jan 2013 17:59:13 +0000 (17:59 +0000)
Add missing object to the method call.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/event.h

index 8f84dbc1c019d4a9d25ec8c193884f734f9d90d0..a6424f51236b5d11a997e168950519868abbf270 100644 (file)
@@ -1512,7 +1512,7 @@ public:
                 else // No Unicode equivalent.
                 {
                     // It's a special key, deal with all the known ones:
-                    switch ( GetKeyCode() )
+                    switch ( event.GetKeyCode() )
                     {
                         case WXK_LEFT:
                         case WXK_RIGHT: