X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50b30d837b469539fb6fb93d076d6ee42dd338e6..81b41c03c6bcbffa9293a0e280729ffaaf9ef2c7:/src/mac/checklst.cpp diff --git a/src/mac/checklst.cpp b/src/mac/checklst.cpp index bba473b606..89123057f0 100644 --- a/src/mac/checklst.cpp +++ b/src/mac/checklst.cpp @@ -271,7 +271,7 @@ bool wxCheckListBox::Create(wxWindow *parent, } else { - options = lOnlyOne ; + options = (OptionBits) lOnlyOne ; } SetListSelectionFlags((ListHandle)m_macList, options); @@ -376,7 +376,7 @@ END_EVENT_TABLE() void wxCheckListBox::OnChar(wxKeyEvent& event) { - if ( event.KeyCode() == WXK_SPACE ) + if ( event.GetKeyCode() == WXK_SPACE ) { int index = GetSelection() ; if ( index >= 0 )