]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
removing unreached code (overriden)
[wxWidgets.git] / src / gtk1 / listbox.cpp
index a8a680a940158541278211db23c3f20c6b28e6e4..a4304cfe0195769a69853fa0d64448a61c1e1ca6 100644 (file)
@@ -316,6 +316,18 @@ wxListBox::wxListBox()
 #endif // wxUSE_CHECKLISTBOX
 }
 
+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,
                         int n, const wxString choices[],