]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/listbox.cpp
reset m_frameTool/StatusBar pointers before deleting them (bug 773474)
[wxWidgets.git] / src / mac / listbox.cpp
index fe39a0a19fcea8baca9128e2129e718f949e055b..ea675aaf1c754b8d70e26bcceb3a85cbae4aadf9 100644 (file)
@@ -193,6 +193,20 @@ wxListBox::wxListBox()
 
 static ListDefUPP macListDefUPP = NULL ;
 
+bool wxListBox::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 wxListBox::Create(wxWindow *parent, wxWindowID id,
                        const wxPoint& pos,
                        const wxSize& size,