X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78c1d7855d1fefcdbff0e093e21e5cf101ca604..d9a35b540634f265b2588b5244c62a4493709224:/include/wx/gtk/combobox.h?ds=sidebyside diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 438dc7c3ad..39543f8baa 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -135,14 +135,14 @@ protected: // custom list stores. virtual void GTKCreateComboBoxWidget(); - // return the GtkEntry part of the combobox - GtkEntry *GetEntry() const { return m_entry; } + virtual GtkEntry *GetEntry() const + { return m_entry; } GtkEntry* m_entry; private: // From wxTextEntry: - virtual const wxWindow *GetEditableWindow() const { return this; } + virtual wxWindow *GetEditableWindow() { return this; } virtual GtkEditable *GetEditable() const; virtual void EnableTextChangedEvents(bool enable) {