use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -157,8 +157,8 @@ public: // public API
|
||||
|
||||
public: // internal functions
|
||||
|
||||
void UpdatePickerFromTextCtrl();
|
||||
void UpdateTextCtrlFromPicker();
|
||||
void UpdatePickerFromTextCtrl() wxOVERRIDE;
|
||||
void UpdateTextCtrlFromPicker() wxOVERRIDE;
|
||||
|
||||
// event handler for our picker
|
||||
void OnFontChange(wxFontPickerEvent &);
|
||||
@@ -170,7 +170,7 @@ public: // internal functions
|
||||
protected:
|
||||
|
||||
// extracts the style for our picker from wxFontPickerCtrl's style
|
||||
long GetPickerStyle(long style) const
|
||||
long GetPickerStyle(long style) const wxOVERRIDE
|
||||
{ return (style & (wxFNTP_FONTDESC_AS_LABEL|wxFNTP_USEFONT_FOR_LABEL)); }
|
||||
|
||||
// the maximum pointsize allowed to the user
|
||||
@@ -205,7 +205,7 @@ public:
|
||||
void SetFont(const wxFont &c) { m_font = c; }
|
||||
|
||||
// default copy ctor, assignment operator and dtor are ok
|
||||
virtual wxEvent *Clone() const { return new wxFontPickerEvent(*this); }
|
||||
virtual wxEvent *Clone() const wxOVERRIDE { return new wxFontPickerEvent(*this); }
|
||||
|
||||
private:
|
||||
wxFont m_font;
|
||||
|
Reference in New Issue
Block a user