X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92c32bbee7cde97f465a5632734d63f050f5d550..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/renderer.h diff --git a/include/wx/renderer.h b/include/wx/renderer.h index 9a4bded205..16bd75f9bf 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 // @@ -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,