From: Vadim Zeitlin Date: Thu, 10 Jan 2013 17:59:13 +0000 (+0000) Subject: Fix a typo in wxKeyEvent::GetKeyCode() code example. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6884a3b6437ec65f80867a83b76a8f87f0ef8e7e Fix a typo in wxKeyEvent::GetKeyCode() code example. Add missing object to the method call. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/event.h b/interface/wx/event.h index 8f84dbc1c0..a6424f5123 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -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: