X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1d1f8175d3f71a4f021ffa8d255f80a05eaffd0..14b44999eb335f3fc84b4362980b1730b8887588:/include/wx/gtk/combobox.h diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 7901e540f5..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); @@ -118,8 +120,8 @@ public: void OnUpdateDelete(wxUpdateUIEvent& event); void OnUpdateSelectAll(wxUpdateUIEvent& event); - virtual void DisableEvents(); - virtual void EnableEvents(); + virtual void GTKDisableEvents(); + virtual void GTKEnableEvents(); GtkWidget* GetConnectWidget(); static wxVisualAttributes @@ -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();