X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e9576ca53db96b462ed4c0b4bdf47d64c40203e4..d21d2e5adf7a5acf3b496a9c4e87eab220bd75d8:/src/mac/checklst.cpp diff --git a/src/mac/checklst.cpp b/src/mac/checklst.cpp index 2f43152c2a..b8401b16da 100644 --- a/src/mac/checklst.cpp +++ b/src/mac/checklst.cpp @@ -17,6 +17,10 @@ #pragma implementation "checklst.h" #endif +#include "wx/defs.h" + +#if wxUSE_CHECKLISTBOX + #include "wx/checklst.h" // ============================================================================ @@ -40,7 +44,7 @@ END_EVENT_TABLE() // ---------------- // def ctor: use Create() to really create the control -wxCheckListBox::wxCheckListBox() : wxListBox() +wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase() { } @@ -50,7 +54,7 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, int nStrings, const wxString choices[], long style, const wxValidator& val, const wxString& name) - : wxListBox() + : wxCheckListBoxBase() { // TODO: you'll probably need a separate Create instead of using // the wxListBox one as here. @@ -71,4 +75,5 @@ void wxCheckListBox::Check(size_t uiIndex, bool bCheck) // TODO } +#endif // wxUSE_CHECKLISTBOX