X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584ad2a32fec156c6049145d7ece9a33213aea28..27c78e4552aaefac9a4db0d4453eff09cdfef2ad:/src/cocoa/checklst.mm diff --git a/src/cocoa/checklst.mm b/src/cocoa/checklst.mm index 5fa53cf917..f3a68f99ac 100644 --- a/src/cocoa/checklst.mm +++ b/src/cocoa/checklst.mm @@ -6,10 +6,13 @@ // Created: 2003/03/18 // RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" + +#if wxUSE_CHECKLISTBOX + #ifndef WX_PRECOMP #include "wx/log.h" #include "wx/app.h" @@ -53,7 +56,6 @@ bool wxCheckListBox::Create(wxWindow *parent, wxWindowID winid, wxCheckListBox::~wxCheckListBox() { - CocoaRemoveFromParent(); } bool wxCheckListBox::IsChecked(size_t item) const @@ -66,3 +68,4 @@ void wxCheckListBox::Check(size_t item, bool check) { } +#endif