use wxOVERRIDE in wxMSW sources
This commit is contained in:
@@ -50,7 +50,7 @@ public:
|
||||
}
|
||||
|
||||
// accessors
|
||||
virtual bool IsOk() const { return m_handle != 0; }
|
||||
virtual bool IsOk() const wxOVERRIDE { return m_handle != 0; }
|
||||
|
||||
void SetSize(int w, int h) { m_width = w; m_height = h; }
|
||||
|
||||
@@ -130,19 +130,19 @@ public:
|
||||
void SetSize(const wxSize& size) { SetSize(size.x, size.y); }
|
||||
|
||||
// forward some of base class virtuals to wxGDIImageRefData
|
||||
bool FreeResource(bool force = false);
|
||||
virtual WXHANDLE GetResourceHandle() const;
|
||||
bool FreeResource(bool force = false) wxOVERRIDE;
|
||||
virtual WXHANDLE GetResourceHandle() const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
// create the data for the derived class here
|
||||
virtual wxGDIImageRefData *CreateData() const = 0;
|
||||
|
||||
// implement the wxGDIObject method in terms of our, more specific, one
|
||||
virtual wxGDIRefData *CreateGDIRefData() const { return CreateData(); }
|
||||
virtual wxGDIRefData *CreateGDIRefData() const wxOVERRIDE { return CreateData(); }
|
||||
|
||||
// we can't [efficiently] clone objects of this class
|
||||
virtual wxGDIRefData *
|
||||
CloneGDIRefData(const wxGDIRefData *WXUNUSED(data)) const
|
||||
CloneGDIRefData(const wxGDIRefData *WXUNUSED(data)) const wxOVERRIDE
|
||||
{
|
||||
wxFAIL_MSG( wxT("must be implemented if used") );
|
||||
|
||||
|
Reference in New Issue
Block a user