X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dec7b5a8085402c3b170d49f838086c4271d6017..4c7d9d88b78b56e552f78f8eb3040264afcca5df:/include/wx/gtk/combobox.h diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index b126e1c2ca..fb718013c5 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -101,6 +101,8 @@ public: void OnChar( wxKeyEvent &event ); + virtual void SetValue(const wxString& value); + // Standard event handling void OnCut(wxCommandEvent& event); void OnCopy(wxCommandEvent& event); @@ -146,13 +148,7 @@ private: // From wxTextEntry: virtual wxWindow *GetEditableWindow() { return this; } virtual GtkEditable *GetEditable() const; - virtual void EnableTextChangedEvents(bool enable) - { - if ( enable ) - EnableEvents(); - else - DisableEvents(); - } + virtual void EnableTextChangedEvents(bool enable); void Init();