X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50b30d837b469539fb6fb93d076d6ee42dd338e6..bf60426831535738b1b784629f08e9dd00bf9ecc:/src/mac/carbon/checklst.cpp diff --git a/src/mac/carbon/checklst.cpp b/src/mac/carbon/checklst.cpp index bba473b606..89123057f0 100644 --- a/src/mac/carbon/checklst.cpp +++ b/src/mac/carbon/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 )