X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..ef22e3d35e23237cb616e420951f5da8c46c0200:/wxPython/src/_combobox.i diff --git a/wxPython/src/_combobox.i b/wxPython/src/_combobox.i index a9da630a68..da5b396255 100644 --- a/wxPython/src/_combobox.i +++ b/wxPython/src/_combobox.i @@ -28,27 +28,29 @@ class wxComboBox : public wxControl, public wxItemContainer #endif { public: - %addtofunc wxComboBox "self._setOORInfo(self)" - %addtofunc wxComboBox() "" + %pythonAppend wxComboBox "self._setOORInfo(self)" + %pythonAppend wxComboBox() "" wxComboBox(wxWindow* parent, wxWindowID id, 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;