X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..52cbfcf009d9f2ac995280bd6f5dcf584295b67d:/include/wx/gtk1/combobox.h diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 28a906f941..d2ea1822c9 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -50,17 +50,18 @@ class wxComboBox: public wxControl const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, long style = 0, + const wxValidator& validator = wxDefaultValidator, const wxString& name = wxComboBoxNameStr) { - Create(parent, id, value, pos, size, n, choices, style, name); + Create(parent, id, value, pos, size, n, choices, style, validator, name); } - bool Create(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, long style = 0, + const wxValidator& validator = wxDefaultValidator, const wxString& name = wxComboBoxNameStr); // List functions @@ -76,6 +77,7 @@ class wxComboBox: public wxControl wxString GetStringSelection(void) const; int Number(void) const; void SetSelection( int n ); + void SetStringSelection( const wxString &string ); // Text field functions wxString GetValue(void) const ; @@ -96,8 +98,11 @@ class wxComboBox: public wxControl private: - wxList m_clientData; - + wxList m_clientData; + + public: + + bool m_alreadySent; }; #endif // __GTKCOMBOBOXH__