]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/checklst.cpp
fixed memory leak and optimized GetSubBitmap (Kudos to Eric Lavigne)
[wxWidgets.git] / src / mac / carbon / checklst.cpp
index ecf13c8f70dc2dd673028406a29d8be8297dbcf0..b8401b16da67fbd275082c0f3096e7b21dda1667 100644 (file)
@@ -44,7 +44,7 @@ END_EVENT_TABLE()
 // ----------------
 
 // def ctor: use Create() to really create the control
-wxCheckListBox::wxCheckListBox() : wxListBox()
+wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase()
 {
 }
 
@@ -54,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.