X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92c32bbee7cde97f465a5632734d63f050f5d550..670d01778a69731665cbb7c77726f067a1c8ce17:/include/wx/renderer.h diff --git a/include/wx/renderer.h b/include/wx/renderer.h index 9a4bded205..fbe6a105af 100644 --- a/include/wx/renderer.h +++ b/include/wx/renderer.h @@ -228,12 +228,8 @@ public: 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 // @@ -281,11 +277,11 @@ public: 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 // ------------------ @@ -408,12 +404,8 @@ public: 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, @@ -451,11 +443,11 @@ public: 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); }