X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22f3361e1cf25c52a2da8fdfc5cb081809e18fb9..d8c65cf48881468f97798ac521fb93f9b8b5a293:/src/msw/checklst.cpp diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index f74f6dd59c..db05ff7812 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -395,7 +395,7 @@ void wxCheckListBox::OnKeyDown(wxKeyEvent& event) Clear } oper; - switch ( event.KeyCode() ) + switch ( event.GetKeyCode() ) { case WXK_SPACE: oper = Toggle;