use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,35 +39,35 @@ public:
|
||||
const wxString& name = wxPanelNameStr);
|
||||
|
||||
// implement base class methods
|
||||
virtual void SetFieldsCount(int number = 1, const int *widths = NULL);
|
||||
virtual void SetStatusWidths(int n, const int widths[]);
|
||||
virtual void SetFieldsCount(int number = 1, const int *widths = NULL) wxOVERRIDE;
|
||||
virtual void SetStatusWidths(int n, const int widths[]) wxOVERRIDE;
|
||||
|
||||
virtual bool GetFieldRect(int i, wxRect& rect) const;
|
||||
virtual void SetMinHeight(int height);
|
||||
virtual bool GetFieldRect(int i, wxRect& rect) const wxOVERRIDE;
|
||||
virtual void SetMinHeight(int height) wxOVERRIDE;
|
||||
|
||||
virtual int GetBorderX() const;
|
||||
virtual int GetBorderY() const;
|
||||
virtual int GetBorderX() const wxOVERRIDE;
|
||||
virtual int GetBorderY() const wxOVERRIDE;
|
||||
|
||||
// wxInputConsumer pure virtual
|
||||
virtual wxWindow *GetInputWindow() const
|
||||
virtual wxWindow *GetInputWindow() const wxOVERRIDE
|
||||
{ return const_cast<wxStatusBar*>(this); }
|
||||
|
||||
protected:
|
||||
virtual void DoUpdateStatusText(int i);
|
||||
virtual void DoUpdateStatusText(int i) wxOVERRIDE;
|
||||
|
||||
// recalculate the field widths
|
||||
void OnSize(wxSizeEvent& event);
|
||||
|
||||
// draw the statusbar
|
||||
virtual void DoDraw(wxControlRenderer *renderer);
|
||||
virtual void DoDraw(wxControlRenderer *renderer) wxOVERRIDE;
|
||||
|
||||
// tell them about our preferred height
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
|
||||
// override DoSetSize() to prevent the status bar height from changing
|
||||
virtual void DoSetSize(int x, int y,
|
||||
int width, int height,
|
||||
int sizeFlags = wxSIZE_AUTO);
|
||||
int sizeFlags = wxSIZE_AUTO) wxOVERRIDE;
|
||||
|
||||
// get the (fixed) status bar height
|
||||
wxCoord GetHeight() const;
|
||||
|
Reference in New Issue
Block a user