use more wxOVERRIDE (#329)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user