X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..a9152a05f8132181caa920309fba63c3784f8c71:/src/mac/carbon/checklst.cpp?ds=sidebyside diff --git a/src/mac/carbon/checklst.cpp b/src/mac/carbon/checklst.cpp index 7387e3e471..b8401b16da 100644 --- a/src/mac/carbon/checklst.cpp +++ b/src/mac/carbon/checklst.cpp @@ -17,13 +17,19 @@ #pragma implementation "checklst.h" #endif +#include "wx/defs.h" + +#if wxUSE_CHECKLISTBOX + #include "wx/checklst.h" // ============================================================================ // implementation // ============================================================================ +#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox) +#endif // ---------------------------------------------------------------------------- // implementation of wxCheckListBox class @@ -38,7 +44,7 @@ END_EVENT_TABLE() // ---------------- // def ctor: use Create() to really create the control -wxCheckListBox::wxCheckListBox() : wxListBox() +wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase() { } @@ -48,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. @@ -69,4 +75,5 @@ void wxCheckListBox::Check(size_t uiIndex, bool bCheck) // TODO } +#endif // wxUSE_CHECKLISTBOX