deprecated GetCheckBoxSize(wxWindow *) in favour of GetCheckBoxSize() const (the window parameter was unused and not documented)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-03-01 16:46:49 +00:00
parent f8d0234d39
commit 92c32bbee7
6 changed files with 31 additions and 24 deletions

View File

@@ -228,8 +228,12 @@ public:
const wxRect& rect,
int flags = 0) = 0;
#if WXWIN_COMPATIBILITY_2_8
// Returns the default size of a check box.
virtual wxSize GetCheckBoxSize(wxWindow *win) = 0;
wxDEPRECATED_INLINE( virtual wxSize GetCheckBoxSize(wxWindow *WXUNUSED(win)),
return GetCheckBoxSize(); );
#endif
virtual wxSize GetCheckBoxSize() const = 0;
// draw blank button
//
@@ -404,8 +408,12 @@ public:
int flags = 0)
{ m_rendererNative.DrawCheckBox( win, dc, rect, flags ); }
virtual wxSize GetCheckBoxSize(wxWindow *win)
{ return m_rendererNative.GetCheckBoxSize(win); }
#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 void DrawPushButton(wxWindow *win,
wxDC& dc,