X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d607461b4ccb18a45f9c116e2134096ee70c3b..050c9e3c90c58b05d5b3f7384d1556ca9669f13e:/src/mac/carbon/checklst.cpp diff --git a/src/mac/carbon/checklst.cpp b/src/mac/carbon/checklst.cpp index 2a9d09a8bf..b8401b16da 100644 --- a/src/mac/carbon/checklst.cpp +++ b/src/mac/carbon/checklst.cpp @@ -17,10 +17,12 @@ #pragma implementation "checklst.h" #endif -#include "wx/checklst.h" +#include "wx/defs.h" #if wxUSE_CHECKLISTBOX +#include "wx/checklst.h" + // ============================================================================ // implementation // ============================================================================ @@ -42,7 +44,7 @@ END_EVENT_TABLE() // ---------------- // def ctor: use Create() to really create the control -wxCheckListBox::wxCheckListBox() : wxListBox() +wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase() { } @@ -52,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.