more use of wxOVERRIDE
This commit is contained in:
@@ -83,7 +83,7 @@ public:
|
||||
m_toolId = c.m_toolId;
|
||||
}
|
||||
#endif
|
||||
wxEvent *Clone() const { return new wxAuiToolBarEvent(*this); }
|
||||
wxEvent *Clone() const wxOVERRIDE { return new wxAuiToolBarEvent(*this); }
|
||||
|
||||
bool IsDropDownClicked() const { return m_isDropdownClicked; }
|
||||
void SetDropDownClicked(bool c) { m_isDropdownClicked = c; }
|
||||
@@ -355,78 +355,78 @@ public:
|
||||
wxAuiDefaultToolBarArt();
|
||||
virtual ~wxAuiDefaultToolBarArt();
|
||||
|
||||
virtual wxAuiToolBarArt* Clone();
|
||||
virtual void SetFlags(unsigned int flags);
|
||||
virtual unsigned int GetFlags();
|
||||
virtual void SetFont(const wxFont& font);
|
||||
virtual wxFont GetFont();
|
||||
virtual void SetTextOrientation(int orientation);
|
||||
virtual int GetTextOrientation();
|
||||
virtual wxAuiToolBarArt* Clone() wxOVERRIDE;
|
||||
virtual void SetFlags(unsigned int flags) wxOVERRIDE;
|
||||
virtual unsigned int GetFlags() wxOVERRIDE;
|
||||
virtual void SetFont(const wxFont& font) wxOVERRIDE;
|
||||
virtual wxFont GetFont() wxOVERRIDE;
|
||||
virtual void SetTextOrientation(int orientation) wxOVERRIDE;
|
||||
virtual int GetTextOrientation() wxOVERRIDE;
|
||||
|
||||
virtual void DrawBackground(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void DrawPlainBackground(wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void DrawLabel(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxAuiToolBarItem& item,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void DrawButton(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxAuiToolBarItem& item,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void DrawDropDownButton(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxAuiToolBarItem& item,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void DrawControlLabel(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxAuiToolBarItem& item,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void DrawSeparator(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void DrawGripper(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxRect& rect);
|
||||
const wxRect& rect) wxOVERRIDE;
|
||||
|
||||
virtual void DrawOverflowButton(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxRect& rect,
|
||||
int state);
|
||||
int state) wxOVERRIDE;
|
||||
|
||||
virtual wxSize GetLabelSize(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxAuiToolBarItem& item);
|
||||
const wxAuiToolBarItem& item) wxOVERRIDE;
|
||||
|
||||
virtual wxSize GetToolSize(
|
||||
wxDC& dc,
|
||||
wxWindow* wnd,
|
||||
const wxAuiToolBarItem& item);
|
||||
const wxAuiToolBarItem& item) wxOVERRIDE;
|
||||
|
||||
virtual int GetElementSize(int element);
|
||||
virtual void SetElementSize(int elementId, int size);
|
||||
virtual int GetElementSize(int element) wxOVERRIDE;
|
||||
virtual void SetElementSize(int elementId, int size) wxOVERRIDE;
|
||||
|
||||
virtual int ShowDropDown(wxWindow* wnd,
|
||||
const wxAuiToolBarItemArray& items);
|
||||
const wxAuiToolBarItemArray& items) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -475,12 +475,12 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxAUI_TB_DEFAULT_STYLE);
|
||||
|
||||
virtual void SetWindowStyleFlag(long style);
|
||||
virtual void SetWindowStyleFlag(long style) wxOVERRIDE;
|
||||
|
||||
void SetArtProvider(wxAuiToolBarArt* art);
|
||||
wxAuiToolBarArt* GetArtProvider() const;
|
||||
|
||||
bool SetFont(const wxFont& font);
|
||||
bool SetFont(const wxFont& font) wxOVERRIDE;
|
||||
|
||||
|
||||
wxAuiToolBarItem* AddTool(int toolId,
|
||||
@@ -605,7 +605,7 @@ public:
|
||||
bool IsPaneValid(const wxAuiPaneInfo& pane) const;
|
||||
|
||||
// Override to call DoIdleUpdate().
|
||||
virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE);
|
||||
virtual void UpdateWindowUI(long flags = wxUPDATE_UI_NONE) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
void Init();
|
||||
@@ -631,7 +631,7 @@ protected:
|
||||
int y,
|
||||
int width,
|
||||
int height,
|
||||
int sizeFlags = wxSIZE_AUTO);
|
||||
int sizeFlags = wxSIZE_AUTO) wxOVERRIDE;
|
||||
|
||||
protected: // handlers
|
||||
|
||||
|
Reference in New Issue
Block a user