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:
parent
239e6af724
commit
95aced6193
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user