use wxOVERRIDE in wxMSW sources
This commit is contained in:
		| @@ -28,30 +28,30 @@ public: | ||||
|     virtual ~wxAnyButton(); | ||||
|  | ||||
|     // overridden base class methods | ||||
|     virtual void SetLabel(const wxString& label); | ||||
|     virtual bool SetBackgroundColour(const wxColour &colour); | ||||
|     virtual bool SetForegroundColour(const wxColour &colour); | ||||
|     virtual void SetLabel(const wxString& label) wxOVERRIDE; | ||||
|     virtual bool SetBackgroundColour(const wxColour &colour) wxOVERRIDE; | ||||
|     virtual bool SetForegroundColour(const wxColour &colour) wxOVERRIDE; | ||||
|  | ||||
|     // implementation from now on | ||||
|     virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); | ||||
|     virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) wxOVERRIDE; | ||||
|  | ||||
|     virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *item); | ||||
|     virtual bool MSWOnDraw(WXDRAWITEMSTRUCT *item) wxOVERRIDE; | ||||
|  | ||||
|     // returns true if the platform should explicitly apply a theme border | ||||
|     virtual bool CanApplyThemeBorder() const { return false; } | ||||
|     virtual bool CanApplyThemeBorder() const wxOVERRIDE { return false; } | ||||
|  | ||||
| protected: | ||||
|     // usually overridden base class virtuals | ||||
|     virtual wxSize DoGetBestSize() const; | ||||
|     virtual wxSize DoGetBestSize() const wxOVERRIDE; | ||||
|  | ||||
|     virtual wxBitmap DoGetBitmap(State which) const; | ||||
|     virtual void DoSetBitmap(const wxBitmap& bitmap, State which); | ||||
|     virtual wxSize DoGetBitmapMargins() const; | ||||
|     virtual void DoSetBitmapMargins(wxCoord x, wxCoord y); | ||||
|     virtual void DoSetBitmapPosition(wxDirection dir); | ||||
|     virtual wxBitmap DoGetBitmap(State which) const wxOVERRIDE; | ||||
|     virtual void DoSetBitmap(const wxBitmap& bitmap, State which) wxOVERRIDE; | ||||
|     virtual wxSize DoGetBitmapMargins() const wxOVERRIDE; | ||||
|     virtual void DoSetBitmapMargins(wxCoord x, wxCoord y) wxOVERRIDE; | ||||
|     virtual void DoSetBitmapPosition(wxDirection dir) wxOVERRIDE; | ||||
|  | ||||
| #if wxUSE_MARKUP | ||||
|     virtual bool DoSetLabelMarkup(const wxString& markup); | ||||
|     virtual bool DoSetLabelMarkup(const wxString& markup) wxOVERRIDE; | ||||
| #endif // wxUSE_MARKUP | ||||
|  | ||||
|     // Increases the passed in size to account for the button image. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user