Fix typo in wxKeyEvent::GetKeyCode() documentation example.

Use GetKeyCode() instead of (undefined) "keycode" variable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-04-08 13:25:41 +00:00
parent 239e6af724
commit 95aced6193

View File

@ -1414,7 +1414,7 @@ public:
else
{
// It's a special key, deal with all the known ones:
switch ( keycode )
switch ( GetKeyCode() )
{
case WXK_LEFT:
case WXK_RIGHT: