]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
use at most -O1 with BCC, it is broken and cannot correctly compile this file with -O2
[wxWidgets.git] / src / msw / combobox.cpp
index f71cb41a3f5352e0f8838abadb693efe184228f9..e23e1fa66ee726f79da4f52a0764723c36b7bf3e 100644 (file)
@@ -433,6 +433,20 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
     return TRUE;
 }
 
+bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
+                        const wxString& value,
+                        const wxPoint& pos,
+                        const wxSize& size,
+                        const wxArrayString& choices,
+                        long style,
+                        const wxValidator& validator,
+                        const wxString& name)
+{
+    wxCArrayString chs(choices);
+    return Create(parent, id, value, pos, size, chs.GetCount(),
+                  chs.GetStrings(), style, validator, name);
+}
+
 void wxComboBox::SetValue(const wxString& value)
 {
     if ( HasFlag(wxCB_READONLY) )