use wxOVERRIDE in wxMSW sources
This commit is contained in:
@@ -31,25 +31,25 @@ public:
|
||||
bool operator!=(const wxPen& pen) const { return !(*this == pen); }
|
||||
|
||||
// Override in order to recreate the pen
|
||||
void SetColour(const wxColour& col);
|
||||
void SetColour(unsigned char r, unsigned char g, unsigned char b);
|
||||
void SetColour(const wxColour& col) wxOVERRIDE;
|
||||
void SetColour(unsigned char r, unsigned char g, unsigned char b) wxOVERRIDE;
|
||||
|
||||
void SetWidth(int width);
|
||||
void SetStyle(wxPenStyle style);
|
||||
void SetStipple(const wxBitmap& stipple);
|
||||
void SetDashes(int nb_dashes, const wxDash *dash);
|
||||
void SetJoin(wxPenJoin join);
|
||||
void SetCap(wxPenCap cap);
|
||||
void SetWidth(int width) wxOVERRIDE;
|
||||
void SetStyle(wxPenStyle style) wxOVERRIDE;
|
||||
void SetStipple(const wxBitmap& stipple) wxOVERRIDE;
|
||||
void SetDashes(int nb_dashes, const wxDash *dash) wxOVERRIDE;
|
||||
void SetJoin(wxPenJoin join) wxOVERRIDE;
|
||||
void SetCap(wxPenCap cap) wxOVERRIDE;
|
||||
|
||||
wxColour GetColour() const;
|
||||
int GetWidth() const;
|
||||
wxPenStyle GetStyle() const;
|
||||
wxPenJoin GetJoin() const;
|
||||
wxPenCap GetCap() const;
|
||||
int GetDashes(wxDash** ptr) const;
|
||||
wxColour GetColour() const wxOVERRIDE;
|
||||
int GetWidth() const wxOVERRIDE;
|
||||
wxPenStyle GetStyle() const wxOVERRIDE;
|
||||
wxPenJoin GetJoin() const wxOVERRIDE;
|
||||
wxPenCap GetCap() const wxOVERRIDE;
|
||||
int GetDashes(wxDash** ptr) const wxOVERRIDE;
|
||||
wxDash* GetDash() const;
|
||||
int GetDashCount() const;
|
||||
wxBitmap* GetStipple() const;
|
||||
wxBitmap* GetStipple() const wxOVERRIDE;
|
||||
|
||||
|
||||
wxDEPRECATED_MSG("use wxPENSTYLE_XXX constants")
|
||||
@@ -60,14 +60,14 @@ public:
|
||||
|
||||
|
||||
// internal: wxGDIObject methods
|
||||
virtual bool RealizeResource();
|
||||
virtual bool FreeResource(bool force = false);
|
||||
virtual WXHANDLE GetResourceHandle() const;
|
||||
virtual bool IsFree() const;
|
||||
virtual bool RealizeResource() wxOVERRIDE;
|
||||
virtual bool FreeResource(bool force = false) wxOVERRIDE;
|
||||
virtual WXHANDLE GetResourceHandle() const wxOVERRIDE;
|
||||
virtual bool IsFree() const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual wxGDIRefData* CreateGDIRefData() const;
|
||||
virtual wxGDIRefData* CloneGDIRefData(const wxGDIRefData* data) const;
|
||||
virtual wxGDIRefData* CreateGDIRefData() const wxOVERRIDE;
|
||||
virtual wxGDIRefData* CloneGDIRefData(const wxGDIRefData* data) const wxOVERRIDE;
|
||||
|
||||
// same as FreeResource() + RealizeResource()
|
||||
bool Recreate();
|
||||
|
Reference in New Issue
Block a user