X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55d607461b4ccb18a45f9c116e2134096ee70c3b..3a922bb4bd8dbcb04e31e324648c2912e167e0cd:/src/mac/checklst.cpp?ds=sidebyside

diff --git a/src/mac/checklst.cpp b/src/mac/checklst.cpp
index 2a9d09a8bf..b8401b16da 100644
--- a/src/mac/checklst.cpp
+++ b/src/mac/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.