DoEnable is protected everywhere else, not private

This commit is contained in:
Robin Dunn
2019-05-24 13:32:52 -07:00
parent c30eb8f2ff
commit 8d6198c59d

View File

@@ -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;