diff --git a/include/wx/propgrid/props.h b/include/wx/propgrid/props.h index 65299be2d1..358e2891ca 100644 --- a/include/wx/propgrid/props.h +++ b/include/wx/propgrid/props.h @@ -398,8 +398,6 @@ public: // this take advantage of it. virtual int GetChoiceSelection() const wxOVERRIDE { return m_index; } - virtual void OnValidationFailure( wxVariant& pendingValue ) wxOVERRIDE; - protected: int GetIndex() const; diff --git a/interface/wx/propgrid/props.h b/interface/wx/propgrid/props.h index f83b30a3d0..e4be903293 100644 --- a/interface/wx/propgrid/props.h +++ b/interface/wx/propgrid/props.h @@ -361,8 +361,6 @@ public: // this take advantage of it. virtual int GetChoiceSelection() const; - virtual void OnValidationFailure( wxVariant& pendingValue ); - protected: int GetIndex() const; diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index f0b2964315..8957bb5d59 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -1434,11 +1434,6 @@ bool wxEnumProperty::ValueFromInt_(wxVariant& value, int* pIndex, int intVal, in return false; } -void -wxEnumProperty::OnValidationFailure( wxVariant& WXUNUSED(pendingValue) ) -{ -} - void wxEnumProperty::SetIndex( int index ) { m_index = index;