diff --git a/include/wx/gtk/textctrl.h b/include/wx/gtk/textctrl.h index d411188a66..d1e4e5ee71 100644 --- a/include/wx/gtk/textctrl.h +++ b/include/wx/gtk/textctrl.h @@ -153,6 +153,8 @@ protected: virtual void DoFreeze() wxOVERRIDE; virtual void DoThaw() wxOVERRIDE; + virtual void DoEnable(bool enable) wxOVERRIDE; + // Widgets that use the style->base colour for the BG colour should // override this and return true. virtual bool UseGTKStyleBase() const wxOVERRIDE { return true; } @@ -177,8 +179,6 @@ protected: private: void Init(); - virtual void DoEnable(bool enable) wxOVERRIDE; - // overridden wxTextEntry virtual methods virtual GtkEditable *GetEditable() const wxOVERRIDE; virtual GtkEntry *GetEntry() const wxOVERRIDE;