]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/checklst.cpp
font encoding support
[wxWidgets.git] / src / mac / checklst.cpp
index 1e88ce34f6cce33300cbf0c4d472812253fd1105..cb7c4a818f7e007c3cff9aa62d3262f43755f188 100644 (file)
@@ -22,6 +22,7 @@
 #if wxUSE_CHECKLISTBOX
 
 #include "wx/checklst.h"
 #if wxUSE_CHECKLISTBOX
 
 #include "wx/checklst.h"
+#include "wx/arrstr.h"
 
 #include "wx/mac/uma.h"
 #include "Appearance.h"
 
 #include "wx/mac/uma.h"
 #include "Appearance.h"
@@ -172,6 +173,21 @@ void wxCheckListBox::Init()
 {
 }
 
 {
 }
 
+bool wxCheckListBox::Create(wxWindow *parent,
+                            wxWindowID id,
+                            const wxPoint &pos,
+                            const wxSize &size,
+                            const wxArrayString& choices,
+                            long style,
+                            const wxValidator& validator,
+                            const wxString &name)
+{
+    wxCArrayString chs(choices);
+
+    return Create(parent, id, pos, size, chs.GetCount(), chs.GetStrings(),
+                  style, validator, name);
+}
+
 bool wxCheckListBox::Create(wxWindow *parent,
                             wxWindowID id,
                             const wxPoint &pos,
 bool wxCheckListBox::Create(wxWindow *parent,
                             wxWindowID id,
                             const wxPoint &pos,