]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/checklst.cpp
WXMAKINGDLL --> WXMAKINGDLL_CORE and also fixed name of resources file
[wxWidgets.git] / src / mac / checklst.cpp
index c50773b137ed9ff0bd6e24380e6a75030a63d6be..ee04357b8ff4d84b422cec76dd06e492cce412db 100644 (file)
@@ -183,6 +183,10 @@ bool wxCheckListBox::Create(wxWindow *parent,
                             const wxValidator& validator,
                             const wxString &name)
 {
+    if ( !wxCheckListBoxBase::Create(parent, id, pos, size,
+                                     n, choices, style, validator, name) )
+        return false;
+
     m_noItems = 0 ; // this will be increased by our append command
     m_selected = 0;
     
@@ -211,7 +215,7 @@ bool wxCheckListBox::Create(wxWindow *parent,
     Rect bounds ;
     Str255 title ;
     
-    MacPreControlCreate( parent , id ,  "" , pos , size ,style, validator , name , &bounds , title ) ;
+    MacPreControlCreate( parent , id ,  wxEmptyString , pos , size ,style, validator , name , &bounds , title ) ;
 
     ListDefSpec listDef;
     listDef.defType = kListDefUserProcType;