const wxRect& rect,
int flags = 0) = 0;
-#if WXWIN_COMPATIBILITY_2_8
// Returns the default size of a check box.
- wxDEPRECATED_INLINE( virtual wxSize GetCheckBoxSize(wxWindow *WXUNUSED(win)),
- return GetCheckBoxSize(); );
-#endif
- virtual wxSize GetCheckBoxSize() const = 0;
+ virtual wxSize GetCheckBoxSize(wxWindow *win) = 0;
// draw blank button
//
const wxRect& rect,
int flags = 0) = 0;
- // Draw a native wxRadioButton (just the graphical portion)
- virtual void DrawRadioButton(wxWindow* win,
- wxDC& dc,
- const wxRect& rect,
- int flags = 0) = 0;
+ // Draw a native wxRadioButton bitmap
+ virtual void DrawRadioBitmap(wxWindow* win,
+ wxDC& dc,
+ const wxRect& rect,
+ int flags = 0) = 0;
// geometry functions
// ------------------
int flags = 0)
{ m_rendererNative.DrawCheckBox( win, dc, rect, flags ); }
-#if WXWIN_COMPATIBILITY_2_8
- wxDEPRECATED_INLINE( virtual wxSize GetCheckBoxSize(wxWindow *WXUNUSED(win)),
- return m_rendererNative.GetCheckBoxSize(); );
-#endif
- virtual wxSize GetCheckBoxSize() const
- { return m_rendererNative.GetCheckBoxSize(); }
+ virtual wxSize GetCheckBoxSize(wxWindow *win)
+ { return m_rendererNative.GetCheckBoxSize(win); }
virtual void DrawPushButton(wxWindow *win,
wxDC& dc,
int flags = 0)
{ m_rendererNative.DrawTextCtrl( win, dc, rect, flags); }
- virtual void DrawRadioButton(wxWindow* win,
- wxDC& dc,
- const wxRect& rect,
- int flags = 0)
- { m_rendererNative.DrawRadioButton( win, dc, rect, flags); }
+ virtual void DrawRadioBitmap(wxWindow* win,
+ wxDC& dc,
+ const wxRect& rect,
+ int flags = 0)
+ { m_rendererNative.DrawRadioBitmap(win, dc, rect, flags); }
virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win)
{ return m_rendererNative.GetSplitterParams(win); }