]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_combobox.i
Make all wxMask constructors use the C++ (bitmap, colour) ctor, and
[wxWidgets.git] / wxPython / src / _combobox.i
index 835d2e2be015042d50742aeb424d1569fc43dc5b..da5b396255df849a8b655d133b3eebcdbabd5ed3 100644 (file)
@@ -35,20 +35,22 @@ public:
                const wxString& value = wxPyEmptyString,
                const wxPoint& pos = wxDefaultPosition,
                const wxSize& size = wxDefaultSize,
-               int choices=0, wxString* choices_array=NULL,
+               //int choices=0, wxString* choices_array=NULL,
+               const wxArrayString& choices = wxPyEmptyStringArray,
                long style = 0,
                const wxValidator& validator = wxDefaultValidator,
                const wxString& name = wxPyComboBoxNameStr);
     %name(PreComboBox)wxComboBox();
 
     bool Create(wxWindow* parent, wxWindowID id,
-               const wxString& value = wxPyEmptyString,
-               const wxPoint& pos = wxDefaultPosition,
-               const wxSize& size = wxDefaultSize,
-               int choices=0, wxString* choices_array=NULL,
-               long style = 0,
-               const wxValidator& validator = wxDefaultValidator,
-               const wxString& name = wxPyComboBoxNameStr);
+                const wxString& value = wxPyEmptyString,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                //int choices=0, wxString* choices_array=NULL,
+                const wxArrayString& choices = wxPyEmptyStringArray,
+                long style = 0,
+                const wxValidator& validator = wxDefaultValidator,
+                const wxString& name = wxPyComboBoxNameStr);
 
 
     virtual wxString GetValue() const;