Get rid of unnecessary overriding function
OnValidationFailure() in derived class wxEnumProperty has the same implementation (empty body) as the implementation in the base class wxPGProperty so overriding this function in derived class is not necessary.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user