X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dec7b5a8085402c3b170d49f838086c4271d6017..de1cc37868e66796a66af8fc13a642a1d6a3d1db:/include/wx/gtk/combobox.h?ds=inline 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();