]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checklst.cpp
wxExecute may only be called from the main thread
[wxWidgets.git] / src / msw / checklst.cpp
index f74f6dd59c1bbc83f7cf2637049a6170fbaa1c96..db05ff7812308cc12b1a23f7a2eb87acd766d717 100644 (file)
@@ -395,7 +395,7 @@ void wxCheckListBox::OnKeyDown(wxKeyEvent& event)
         Clear
     } oper;
 
-    switch ( event.KeyCode() )
+    switch ( event.GetKeyCode() )
     {
         case WXK_SPACE:
             oper = Toggle;