From 32bb2edac7fd71e91e4a4b7c8f5bc88a4e878313 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Thu, 11 Jun 2020 15:34:33 +0200 Subject: [PATCH] Mark overriding functions with wxOVERRIDE --- include/wx/generic/spinctlg.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/wx/generic/spinctlg.h b/include/wx/generic/spinctlg.h index b0d458ffda..252d278dc1 100644 --- a/include/wx/generic/spinctlg.h +++ b/include/wx/generic/spinctlg.h @@ -319,20 +319,20 @@ public: int GetIncrement() const { return int(m_increment); } // operations - void SetValue(const wxString& value) + virtual void SetValue(const wxString& value) wxOVERRIDE { wxSpinCtrlGenericBase::SetValue(value); } void SetValue( int value ) { DoSetValue(value, SendEvent_None); } void SetRange( int minVal, int maxVal ) { DoSetRange(minVal, maxVal); } void SetIncrement(int inc) { DoSetIncrement(inc); } - virtual int GetBase() const { return m_base; } - virtual bool SetBase(int base); + virtual int GetBase() const wxOVERRIDE { return m_base; } + virtual bool SetBase(int base) wxOVERRIDE; protected: - virtual void DoSendEvent(); + virtual void DoSendEvent() wxOVERRIDE; - virtual bool DoTextToValue(const wxString& text, double *val); - virtual wxString DoValueToText(double val); + virtual bool DoTextToValue(const wxString& text, double *val) wxOVERRIDE; + virtual wxString DoValueToText(double val) wxOVERRIDE; virtual void ResetTextValidator() wxOVERRIDE; private: