use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,19 +26,19 @@ public:
|
||||
const wxFontData& value = wxFontData() );
|
||||
virtual ~wxFontDataProperty ();
|
||||
|
||||
void OnSetValue();
|
||||
void OnSetValue() wxOVERRIDE;
|
||||
|
||||
// In order to have different value type in a derived property
|
||||
// class, we will override GetValue to return custom variant,
|
||||
// instead of changing the base m_value. This allows the methods
|
||||
// in base class to function properly.
|
||||
virtual wxVariant DoGetValue() const;
|
||||
virtual wxVariant DoGetValue() const wxOVERRIDE;
|
||||
|
||||
virtual wxVariant ChildChanged( wxVariant& thisValue,
|
||||
int childIndex,
|
||||
wxVariant& childValue ) const;
|
||||
virtual void RefreshChildren();
|
||||
virtual bool OnEvent( wxPropertyGrid* propgrid, wxWindow* primary, wxEvent& event );
|
||||
wxVariant& childValue ) const wxOVERRIDE;
|
||||
virtual void RefreshChildren() wxOVERRIDE;
|
||||
virtual bool OnEvent( wxPropertyGrid* propgrid, wxWindow* primary, wxEvent& event ) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
// Value must be stored as variant - otherwise it will be
|
||||
@@ -59,8 +59,8 @@ public:
|
||||
|
||||
virtual wxVariant ChildChanged( wxVariant& thisValue,
|
||||
int childIndex,
|
||||
wxVariant& childValue ) const;
|
||||
virtual void RefreshChildren();
|
||||
wxVariant& childValue ) const wxOVERRIDE;
|
||||
virtual void RefreshChildren() wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -84,8 +84,8 @@ public:
|
||||
|
||||
virtual wxVariant ChildChanged( wxVariant& thisValue,
|
||||
int childIndex,
|
||||
wxVariant& childValue ) const;
|
||||
virtual void RefreshChildren();
|
||||
wxVariant& childValue ) const wxOVERRIDE;
|
||||
virtual void RefreshChildren() wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -115,13 +115,13 @@ public:
|
||||
|
||||
virtual ~wxArrayDoubleProperty ();
|
||||
|
||||
virtual void OnSetValue();
|
||||
virtual wxString ValueToString( wxVariant& value, int argFlags = 0 ) const;
|
||||
virtual void OnSetValue() wxOVERRIDE;
|
||||
virtual wxString ValueToString( wxVariant& value, int argFlags = 0 ) const wxOVERRIDE;
|
||||
virtual bool StringToValue( wxVariant& variant,
|
||||
const wxString& text,
|
||||
int argFlags = 0 ) const;
|
||||
virtual bool OnEvent( wxPropertyGrid* propgrid, wxWindow* primary, wxEvent& event );
|
||||
virtual bool DoSetAttribute( const wxString& name, wxVariant& value );
|
||||
int argFlags = 0 ) const wxOVERRIDE;
|
||||
virtual bool OnEvent( wxPropertyGrid* propgrid, wxWindow* primary, wxEvent& event ) wxOVERRIDE;
|
||||
virtual bool DoSetAttribute( const wxString& name, wxVariant& value ) wxOVERRIDE;
|
||||
|
||||
// Generates cache for displayed text
|
||||
virtual void GenerateValueAsString ( wxString& target, int prec, bool removeZeroes ) const;
|
||||
|
Reference in New Issue
Block a user