X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42352409bcf4296029a92187db7139f006581b5d..74a8f67d96591cec101def2a7d47c64072aff7fd:/src/cocoa/checklst.mm diff --git a/src/cocoa/checklst.mm b/src/cocoa/checklst.mm index 09a347ecd2..36e052101d 100644 --- a/src/cocoa/checklst.mm +++ b/src/cocoa/checklst.mm @@ -1,22 +1,25 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cocoa/checklst.mm +// Name: src/cocoa/checklst.mm // Purpose: wxCheckListBox // Author: David Elliott // Modified by: // Created: 2003/03/18 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + +#if wxUSE_CHECKLISTBOX + +#include "wx/checklst.h" + #ifndef WX_PRECOMP #include "wx/log.h" #include "wx/app.h" - #include "wx/checklst.h" #endif //WX_PRECOMP -IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) BEGIN_EVENT_TABLE(wxCheckListBox, wxCheckListBoxBase) END_EVENT_TABLE() // WX_IMPLEMENT_COCOA_OWNER(wxCheckListBox,NSButton,NSControl,NSView) @@ -55,13 +58,14 @@ wxCheckListBox::~wxCheckListBox() { } -bool wxCheckListBox::IsChecked(size_t item) const +bool wxCheckListBox::IsChecked(unsigned int item) const { return false; } -void wxCheckListBox::Check(size_t item, bool check) +void wxCheckListBox::Check(unsigned int item, bool check) { } +#endif