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
This commit is contained in:
Vadim Zeitlin
2013-01-10 17:59:13 +00:00
parent 4116bc7edd
commit 6884a3b643

View 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: