X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..0f85d5e799ce87db7a5a5291bb258ee22e4ff256:/src/mac/classic/checklst.cpp diff --git a/src/mac/classic/checklst.cpp b/src/mac/classic/checklst.cpp index c442bbdfcb..ae436e163d 100644 --- a/src/mac/classic/checklst.cpp +++ b/src/mac/classic/checklst.cpp @@ -13,10 +13,6 @@ // headers & declarations // ============================================================================ -#ifdef __GNUG__ -#pragma implementation "checklst.h" -#endif - #include "wx/defs.h" #if wxUSE_CHECKLISTBOX @@ -262,7 +258,7 @@ bool wxCheckListBox::Create(wxWindow *parent, long result ; wxStAppResource resload ; - m_macControl = ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , + m_macControl = (WXWidget) ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , kwxMacListWithVerticalScrollbar , 0 , 0, kControlListBoxProc , (long) this ) ; ::GetControlData( (ControlHandle) m_macControl , kControlNoPart , kControlListBoxListHandleTag ,