X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2ca995fa32c9195e547b1e0967e9b17ea890a55..f77cf4e68a98b10378ab07c1c591464b89656102:/src/msw/checklst.cpp diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index 9c688afc3b..db05ff7812 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -90,6 +90,8 @@ public: void SendEvent(); private: + + DECLARE_NO_COPY_CLASS(wxCheckListBoxItem) bool m_bChecked; wxCheckListBox *m_pParent; size_t m_nIndex; @@ -393,7 +395,7 @@ void wxCheckListBox::OnKeyDown(wxKeyEvent& event) Clear } oper; - switch ( event.KeyCode() ) + switch ( event.GetKeyCode() ) { case WXK_SPACE: oper = Toggle;