use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -501,14 +501,14 @@ public:
|
||||
const wxColour& col,
|
||||
const wxRect& rect,
|
||||
int flags,
|
||||
wxWindow *window = NULL )
|
||||
wxWindow *window = NULL ) wxOVERRIDE
|
||||
{ m_renderer->DrawBackground(dc, col, rect, flags, window ); }
|
||||
virtual void DrawButtonSurface(wxDC& dc,
|
||||
const wxColour& col,
|
||||
const wxRect& rect,
|
||||
int flags)
|
||||
int flags) wxOVERRIDE
|
||||
{ m_renderer->DrawButtonSurface(dc, col, rect, flags); }
|
||||
virtual void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags = 0)
|
||||
virtual void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawFocusRect(win, dc, rect, flags); }
|
||||
virtual void DrawLabel(wxDC& dc,
|
||||
const wxString& label,
|
||||
@@ -516,7 +516,7 @@ public:
|
||||
int flags = 0,
|
||||
int align = wxALIGN_LEFT | wxALIGN_TOP,
|
||||
int indexAccel = -1,
|
||||
wxRect *rectBounds = NULL)
|
||||
wxRect *rectBounds = NULL) wxOVERRIDE
|
||||
{ m_renderer->DrawLabel(dc, label, rect,
|
||||
flags, align, indexAccel, rectBounds); }
|
||||
virtual void DrawButtonLabel(wxDC& dc,
|
||||
@@ -526,72 +526,72 @@ public:
|
||||
int flags = 0,
|
||||
int align = wxALIGN_LEFT | wxALIGN_TOP,
|
||||
int indexAccel = -1,
|
||||
wxRect *rectBounds = NULL)
|
||||
wxRect *rectBounds = NULL) wxOVERRIDE
|
||||
{ m_renderer->DrawButtonLabel(dc, label, image, rect,
|
||||
flags, align, indexAccel, rectBounds); }
|
||||
virtual void DrawBorder(wxDC& dc,
|
||||
wxBorder border,
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxRect *rectIn = NULL)
|
||||
wxRect *rectIn = NULL) wxOVERRIDE
|
||||
{ m_renderer->DrawBorder(dc, border, rect, flags, rectIn); }
|
||||
virtual void DrawTextBorder(wxDC& dc,
|
||||
wxBorder border,
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxRect *rectIn = NULL)
|
||||
wxRect *rectIn = NULL) wxOVERRIDE
|
||||
{ m_renderer->DrawTextBorder(dc, border, rect, flags, rectIn); }
|
||||
virtual void DrawButtonBorder(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxRect *rectIn = NULL)
|
||||
wxRect *rectIn = NULL) wxOVERRIDE
|
||||
{ m_renderer->DrawButtonBorder(dc, rect, flags, rectIn); }
|
||||
virtual void DrawFrame(wxDC& dc,
|
||||
const wxString& label,
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
int align = wxALIGN_LEFT,
|
||||
int indexAccel = -1)
|
||||
int indexAccel = -1) wxOVERRIDE
|
||||
{ m_renderer->DrawFrame(dc, label, rect, flags, align, indexAccel); }
|
||||
virtual void DrawHorizontalLine(wxDC& dc,
|
||||
wxCoord y, wxCoord x1, wxCoord x2)
|
||||
wxCoord y, wxCoord x1, wxCoord x2) wxOVERRIDE
|
||||
{ m_renderer->DrawHorizontalLine(dc, y, x1, x2); }
|
||||
virtual void DrawVerticalLine(wxDC& dc,
|
||||
wxCoord x, wxCoord y1, wxCoord y2)
|
||||
wxCoord x, wxCoord y1, wxCoord y2) wxOVERRIDE
|
||||
{ m_renderer->DrawVerticalLine(dc, x, y1, y2); }
|
||||
virtual void DrawArrow(wxDC& dc,
|
||||
wxDirection dir,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawArrow(dc, dir, rect, flags); }
|
||||
virtual void DrawScrollbarArrow(wxDC& dc,
|
||||
wxDirection dir,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawScrollbarArrow(dc, dir, rect, flags); }
|
||||
virtual void DrawScrollbarThumb(wxDC& dc,
|
||||
wxOrientation orient,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawScrollbarThumb(dc, orient, rect, flags); }
|
||||
virtual void DrawScrollbarShaft(wxDC& dc,
|
||||
wxOrientation orient,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawScrollbarShaft(dc, orient, rect, flags); }
|
||||
virtual void DrawScrollCorner(wxDC& dc,
|
||||
const wxRect& rect)
|
||||
const wxRect& rect) wxOVERRIDE
|
||||
{ m_renderer->DrawScrollCorner(dc, rect); }
|
||||
virtual void DrawItem(wxDC& dc,
|
||||
const wxString& label,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawItem(dc, label, rect, flags); }
|
||||
virtual void DrawCheckItem(wxDC& dc,
|
||||
const wxString& label,
|
||||
const wxBitmap& bitmap,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawCheckItem(dc, label, bitmap, rect, flags); }
|
||||
virtual void DrawCheckButton(wxDC& dc,
|
||||
const wxString& label,
|
||||
@@ -599,7 +599,7 @@ public:
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int indexAccel = -1)
|
||||
int indexAccel = -1) wxOVERRIDE
|
||||
{ m_renderer->DrawCheckButton(dc, label, bitmap, rect,
|
||||
flags, align, indexAccel); }
|
||||
virtual void DrawRadioButton(wxDC& dc,
|
||||
@@ -608,7 +608,7 @@ public:
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int indexAccel = -1)
|
||||
int indexAccel = -1) wxOVERRIDE
|
||||
{ m_renderer->DrawRadioButton(dc, label, bitmap, rect,
|
||||
flags, align, indexAccel); }
|
||||
#if wxUSE_TOOLBAR
|
||||
@@ -618,7 +618,7 @@ public:
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
long style = 0,
|
||||
int tbarStyle = 0)
|
||||
int tbarStyle = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawToolBarButton(dc, label, bitmap, rect, flags, style, tbarStyle); }
|
||||
#endif // wxUSE_TOOLBAR
|
||||
|
||||
@@ -628,9 +628,9 @@ public:
|
||||
const wxRect& rect,
|
||||
int selStart = -1,
|
||||
int selEnd = -1,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawTextLine(dc, text, rect, selStart, selEnd, flags); }
|
||||
virtual void DrawLineWrapMark(wxDC& dc, const wxRect& rect)
|
||||
virtual void DrawLineWrapMark(wxDC& dc, const wxRect& rect) wxOVERRIDE
|
||||
{ m_renderer->DrawLineWrapMark(dc, rect); }
|
||||
#endif // wxUSE_TEXTCTRL
|
||||
|
||||
@@ -641,7 +641,7 @@ public:
|
||||
const wxString& label,
|
||||
const wxBitmap& bitmap = wxNullBitmap,
|
||||
int flags = 0,
|
||||
int accel = -1)
|
||||
int accel = -1) wxOVERRIDE
|
||||
{ m_renderer->DrawTab(dc, rect, dir, label, bitmap, flags, accel); }
|
||||
#endif // wxUSE_NOTEBOOK
|
||||
|
||||
@@ -653,13 +653,13 @@ public:
|
||||
wxOrientation orient,
|
||||
int flags = 0,
|
||||
long style = 0,
|
||||
wxRect *rectShaft = NULL)
|
||||
wxRect *rectShaft = NULL) wxOVERRIDE
|
||||
{ m_renderer->DrawSliderShaft(dc, rect, lenThumb, orient, flags, style, rectShaft); }
|
||||
virtual void DrawSliderThumb(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
wxOrientation orient,
|
||||
int flags = 0,
|
||||
long style = 0)
|
||||
long style = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawSliderThumb(dc, rect, orient, flags, style); }
|
||||
virtual void DrawSliderTicks(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
@@ -669,7 +669,7 @@ public:
|
||||
int end,
|
||||
int WXUNUSED(step) = 1,
|
||||
int flags = 0,
|
||||
long style = 0)
|
||||
long style = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawSliderTicks(dc, rect, lenThumb, orient,
|
||||
start, end, start, flags, style); }
|
||||
#endif // wxUSE_SLIDER
|
||||
@@ -679,7 +679,7 @@ public:
|
||||
const wxRect& rect,
|
||||
const wxString& label,
|
||||
int flags = 0,
|
||||
int indexAccel = -1)
|
||||
int indexAccel = -1) wxOVERRIDE
|
||||
{ m_renderer->DrawMenuBarItem(dc, rect, label, flags, indexAccel); }
|
||||
virtual void DrawMenuItem(wxDC& dc,
|
||||
wxCoord y,
|
||||
@@ -688,12 +688,12 @@ public:
|
||||
const wxString& accel,
|
||||
const wxBitmap& bitmap = wxNullBitmap,
|
||||
int flags = 0,
|
||||
int indexAccel = -1)
|
||||
int indexAccel = -1) wxOVERRIDE
|
||||
{ m_renderer->DrawMenuItem(dc, y, gi, label, accel,
|
||||
bitmap, flags, indexAccel); }
|
||||
virtual void DrawMenuSeparator(wxDC& dc,
|
||||
wxCoord y,
|
||||
const wxMenuGeometryInfo& geomInfo)
|
||||
const wxMenuGeometryInfo& geomInfo) wxOVERRIDE
|
||||
{ m_renderer->DrawMenuSeparator(dc, y, geomInfo); }
|
||||
#endif // wxUSE_MENUS
|
||||
|
||||
@@ -701,7 +701,7 @@ public:
|
||||
virtual void DrawStatusField(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
const wxString& label,
|
||||
int flags = 0, int style = 0)
|
||||
int flags = 0, int style = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawStatusField(dc, rect, label, flags, style); }
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
||||
@@ -711,133 +711,133 @@ public:
|
||||
const wxIcon& icon,
|
||||
int flags,
|
||||
int specialButton = 0,
|
||||
int specialButtonFlag = 0)
|
||||
int specialButtonFlag = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawFrameTitleBar(dc, rect, title, icon, flags,
|
||||
specialButton, specialButtonFlag); }
|
||||
virtual void DrawFrameBorder(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags)
|
||||
int flags) wxOVERRIDE
|
||||
{ m_renderer->DrawFrameBorder(dc, rect, flags); }
|
||||
virtual void DrawFrameBackground(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags)
|
||||
int flags) wxOVERRIDE
|
||||
{ m_renderer->DrawFrameBackground(dc, rect, flags); }
|
||||
virtual void DrawFrameTitle(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
const wxString& title,
|
||||
int flags)
|
||||
int flags) wxOVERRIDE
|
||||
{ m_renderer->DrawFrameTitle(dc, rect, title, flags); }
|
||||
virtual void DrawFrameIcon(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
const wxIcon& icon,
|
||||
int flags)
|
||||
int flags) wxOVERRIDE
|
||||
{ m_renderer->DrawFrameIcon(dc, rect, icon, flags); }
|
||||
virtual void DrawFrameButton(wxDC& dc,
|
||||
wxCoord x, wxCoord y,
|
||||
int button,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawFrameButton(dc, x, y, button, flags); }
|
||||
|
||||
#if wxUSE_COMBOBOX
|
||||
virtual void GetComboBitmaps(wxBitmap *bmpNormal,
|
||||
wxBitmap *bmpFocus,
|
||||
wxBitmap *bmpPressed,
|
||||
wxBitmap *bmpDisabled)
|
||||
wxBitmap *bmpDisabled) wxOVERRIDE
|
||||
{ m_renderer->GetComboBitmaps(bmpNormal, bmpFocus,
|
||||
bmpPressed, bmpDisabled); }
|
||||
#endif // wxUSE_COMBOBOX
|
||||
|
||||
virtual void AdjustSize(wxSize *size, const wxWindow *window)
|
||||
virtual void AdjustSize(wxSize *size, const wxWindow *window) wxOVERRIDE
|
||||
{ m_renderer->AdjustSize(size, window); }
|
||||
virtual wxRect GetBorderDimensions(wxBorder border) const
|
||||
virtual wxRect GetBorderDimensions(wxBorder border) const wxOVERRIDE
|
||||
{ return m_renderer->GetBorderDimensions(border); }
|
||||
virtual bool AreScrollbarsInsideBorder() const
|
||||
virtual bool AreScrollbarsInsideBorder() const wxOVERRIDE
|
||||
{ return m_renderer->AreScrollbarsInsideBorder(); }
|
||||
|
||||
#if wxUSE_SCROLLBAR
|
||||
virtual wxSize GetScrollbarArrowSize() const
|
||||
virtual wxSize GetScrollbarArrowSize() const wxOVERRIDE
|
||||
{ return m_renderer->GetScrollbarArrowSize(); }
|
||||
#endif // wxUSE_SCROLLBAR
|
||||
|
||||
virtual wxCoord GetListboxItemHeight(wxCoord fontHeight)
|
||||
virtual wxCoord GetListboxItemHeight(wxCoord fontHeight) wxOVERRIDE
|
||||
{ return m_renderer->GetListboxItemHeight(fontHeight); }
|
||||
virtual wxSize GetCheckBitmapSize() const
|
||||
virtual wxSize GetCheckBitmapSize() const wxOVERRIDE
|
||||
{ return m_renderer->GetCheckBitmapSize(); }
|
||||
virtual wxSize GetRadioBitmapSize() const
|
||||
virtual wxSize GetRadioBitmapSize() const wxOVERRIDE
|
||||
{ return m_renderer->GetRadioBitmapSize(); }
|
||||
virtual wxCoord GetCheckItemMargin() const
|
||||
virtual wxCoord GetCheckItemMargin() const wxOVERRIDE
|
||||
{ return m_renderer->GetCheckItemMargin(); }
|
||||
|
||||
#if wxUSE_TOOLBAR
|
||||
virtual wxSize GetToolBarButtonSize(wxCoord *separator) const
|
||||
virtual wxSize GetToolBarButtonSize(wxCoord *separator) const wxOVERRIDE
|
||||
{ return m_renderer->GetToolBarButtonSize(separator); }
|
||||
virtual wxSize GetToolBarMargin() const
|
||||
virtual wxSize GetToolBarMargin() const wxOVERRIDE
|
||||
{ return m_renderer->GetToolBarMargin(); }
|
||||
#endif // wxUSE_TOOLBAR
|
||||
|
||||
#if wxUSE_TEXTCTRL
|
||||
virtual wxRect GetTextTotalArea(const wxTextCtrl *text,
|
||||
const wxRect& rect) const
|
||||
const wxRect& rect) const wxOVERRIDE
|
||||
{ return m_renderer->GetTextTotalArea(text, rect); }
|
||||
virtual wxRect GetTextClientArea(const wxTextCtrl *text,
|
||||
const wxRect& rect,
|
||||
wxCoord *extraSpaceBeyond) const
|
||||
wxCoord *extraSpaceBeyond) const wxOVERRIDE
|
||||
{ return m_renderer->GetTextClientArea(text, rect, extraSpaceBeyond); }
|
||||
#endif // wxUSE_TEXTCTRL
|
||||
|
||||
#if wxUSE_NOTEBOOK
|
||||
virtual wxSize GetTabIndent() const { return m_renderer->GetTabIndent(); }
|
||||
virtual wxSize GetTabPadding() const { return m_renderer->GetTabPadding(); }
|
||||
virtual wxSize GetTabIndent() const wxOVERRIDE { return m_renderer->GetTabIndent(); }
|
||||
virtual wxSize GetTabPadding() const wxOVERRIDE { return m_renderer->GetTabPadding(); }
|
||||
#endif // wxUSE_NOTEBOOK
|
||||
|
||||
#if wxUSE_SLIDER
|
||||
virtual wxCoord GetSliderDim() const
|
||||
virtual wxCoord GetSliderDim() const wxOVERRIDE
|
||||
{ return m_renderer->GetSliderDim(); }
|
||||
virtual wxCoord GetSliderTickLen() const
|
||||
virtual wxCoord GetSliderTickLen() const wxOVERRIDE
|
||||
{ return m_renderer->GetSliderTickLen(); }
|
||||
|
||||
virtual wxRect GetSliderShaftRect(const wxRect& rect,
|
||||
int lenThumb,
|
||||
wxOrientation orient,
|
||||
long style = 0) const
|
||||
long style = 0) const wxOVERRIDE
|
||||
{ return m_renderer->GetSliderShaftRect(rect, lenThumb, orient, style); }
|
||||
virtual wxSize GetSliderThumbSize(const wxRect& rect,
|
||||
int lenThumb,
|
||||
wxOrientation orient) const
|
||||
wxOrientation orient) const wxOVERRIDE
|
||||
{ return m_renderer->GetSliderThumbSize(rect, lenThumb, orient); }
|
||||
#endif // wxUSE_SLIDER
|
||||
|
||||
virtual wxSize GetProgressBarStep() const
|
||||
virtual wxSize GetProgressBarStep() const wxOVERRIDE
|
||||
{ return m_renderer->GetProgressBarStep(); }
|
||||
|
||||
#if wxUSE_MENUS
|
||||
virtual wxSize GetMenuBarItemSize(const wxSize& sizeText) const
|
||||
virtual wxSize GetMenuBarItemSize(const wxSize& sizeText) const wxOVERRIDE
|
||||
{ return m_renderer->GetMenuBarItemSize(sizeText); }
|
||||
virtual wxMenuGeometryInfo *GetMenuGeometry(wxWindow *win,
|
||||
const wxMenu& menu) const
|
||||
const wxMenu& menu) const wxOVERRIDE
|
||||
{ return m_renderer->GetMenuGeometry(win, menu); }
|
||||
#endif // wxUSE_MENUS
|
||||
|
||||
#if wxUSE_STATUSBAR
|
||||
virtual wxSize GetStatusBarBorders() const
|
||||
virtual wxSize GetStatusBarBorders() const wxOVERRIDE
|
||||
{ return m_renderer->GetStatusBarBorders(); }
|
||||
virtual wxCoord GetStatusBarBorderBetweenFields() const
|
||||
virtual wxCoord GetStatusBarBorderBetweenFields() const wxOVERRIDE
|
||||
{ return m_renderer->GetStatusBarBorderBetweenFields(); }
|
||||
virtual wxSize GetStatusBarFieldMargins() const
|
||||
virtual wxSize GetStatusBarFieldMargins() const wxOVERRIDE
|
||||
{ return m_renderer->GetStatusBarFieldMargins(); }
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
||||
virtual wxRect GetFrameClientArea(const wxRect& rect, int flags) const
|
||||
virtual wxRect GetFrameClientArea(const wxRect& rect, int flags) const wxOVERRIDE
|
||||
{ return m_renderer->GetFrameClientArea(rect, flags); }
|
||||
virtual wxSize GetFrameTotalSize(const wxSize& clientSize, int flags) const
|
||||
virtual wxSize GetFrameTotalSize(const wxSize& clientSize, int flags) const wxOVERRIDE
|
||||
{ return m_renderer->GetFrameTotalSize(clientSize, flags); }
|
||||
virtual wxSize GetFrameMinSize(int flags) const
|
||||
virtual wxSize GetFrameMinSize(int flags) const wxOVERRIDE
|
||||
{ return m_renderer->GetFrameMinSize(flags); }
|
||||
virtual wxSize GetFrameIconSize() const
|
||||
virtual wxSize GetFrameIconSize() const wxOVERRIDE
|
||||
{ return m_renderer->GetFrameIconSize(); }
|
||||
virtual int HitTestFrame(const wxRect& rect,
|
||||
const wxPoint& pt,
|
||||
int flags) const
|
||||
int flags) const wxOVERRIDE
|
||||
{ return m_renderer->HitTestFrame(rect, pt, flags); }
|
||||
|
||||
virtual int DrawHeaderButton(wxWindow *win,
|
||||
@@ -845,12 +845,12 @@ public:
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxHeaderSortIconType sortIcon = wxHDR_SORT_ICON_NONE,
|
||||
wxHeaderButtonParams* params = NULL)
|
||||
wxHeaderButtonParams* params = NULL) wxOVERRIDE
|
||||
{ return m_renderer->DrawHeaderButton(win, dc, rect, flags, sortIcon, params); }
|
||||
virtual void DrawTreeItemButton(wxWindow *win,
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0)
|
||||
int flags = 0) wxOVERRIDE
|
||||
{ m_renderer->DrawTreeItemButton(win, dc, rect, flags); }
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user