use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,11 +46,11 @@ public:
|
||||
static int GetDefaultSize() { return 2; }
|
||||
|
||||
// overridden base class virtuals
|
||||
virtual bool AcceptsFocus() const { return false; }
|
||||
virtual bool AcceptsFocus() const wxOVERRIDE { return false; }
|
||||
|
||||
protected:
|
||||
// choose the default border for this window
|
||||
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
|
||||
virtual wxBorder GetDefaultBorder() const wxOVERRIDE { return wxBORDER_NONE; }
|
||||
|
||||
// set the right size for the right dimension
|
||||
wxSize AdjustSize(const wxSize& size) const
|
||||
@@ -70,7 +70,7 @@ protected:
|
||||
return sizeReal;
|
||||
}
|
||||
|
||||
virtual wxSize DoGetBestSize() const
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE
|
||||
{
|
||||
return AdjustSize(wxDefaultSize);
|
||||
}
|
||||
|
Reference in New Issue
Block a user