use more wxOVERRIDE (#329)

This commit is contained in:
Maarten
2016-09-25 22:21:28 +02:00
committed by paulcor
parent d0c57dbef0
commit 977a826639
66 changed files with 456 additions and 455 deletions

View File

@@ -157,7 +157,7 @@ public:
SetMax(max);
}
virtual bool TransferToWindow()
virtual bool TransferToWindow() wxOVERRIDE
{
if ( m_value )
{
@@ -171,7 +171,7 @@ public:
return true;
}
virtual bool TransferFromWindow()
virtual bool TransferFromWindow() wxOVERRIDE
{
if ( m_value )
{
@@ -204,7 +204,7 @@ protected:
// Implement wxNumValidatorBase virtual method which is the same for
// both integer and floating point numbers.
virtual wxString NormalizeString(const wxString& s) const
virtual wxString NormalizeString(const wxString& s) const wxOVERRIDE
{
LongestValueType value;
return BaseValidator::FromString(s, &value) ? NormalizeValue(value)
@@ -312,7 +312,7 @@ public:
this->DoSetMax(std::numeric_limits<ValueType>::max());
}
virtual wxObject *Clone() const { return new wxIntegerValidator(*this); }
virtual wxObject *Clone() const wxOVERRIDE { return new wxIntegerValidator(*this); }
private:
wxDECLARE_NO_ASSIGN_CLASS(wxIntegerValidator);
@@ -417,7 +417,7 @@ public:
this->SetPrecision(precision);
}
virtual wxObject *Clone() const
virtual wxObject *Clone() const wxOVERRIDE
{
return new wxFloatingPointValidator(*this);
}