X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f6f938f3ae351311188f4d95124d51bf44e0f75..b2ce5e1b2792f53e2e4a1e5f5678ab31c83559c7:/include/wx/gtk/combobox.h diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 54f5d30cf7..b3756066cc 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -54,6 +54,17 @@ public: { Create(parent, id, value, pos, size, n, choices, style, validator, name); } + inline wxComboBox(wxWindow *parent, wxWindowID id, + const wxString& value, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxComboBoxNameStr) + { + Create(parent, id, value, pos, size, choices, style, validator, name); + } ~wxComboBox(); @@ -65,6 +76,14 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxComboBoxNameStr); + bool Create(wxWindow *parent, wxWindowID id, + const wxString& value, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxComboBoxNameStr); void Clear(); void Delete( int n ); @@ -77,7 +96,7 @@ public: int Number() const { return GetCount(); } void SetSelection( int n ); void Select( int n ) { return SetSelection( n ); } - void SetStringSelection( const wxString &string ); + bool SetStringSelection( const wxString &string ); void SetString(int n, const wxString &text); wxString GetValue() const;