Rename wxRendererNative::DrawRadioButton() to DrawRadioBitmap().
This old name function conflicted with the one in wxRenderer in wxUniv and also was misleading as this function draws only a bitmap and not the entire wxRadioButton control. The old workaround for the warnings about the function names conflict was ugly and unmaintainable, as proven by the fact that wxRenderer method signature already became different from the wxRendererNative one. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -208,13 +208,6 @@ public:
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int indexAccel = -1) = 0;
|
||||
|
||||
// draw a radio button sans label or bitmap, for wxRenderer API compat.
|
||||
virtual void DrawRadioButton(wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int flags = 0,
|
||||
wxAlignment align = wxALIGN_LEFT)
|
||||
{ DrawRadioButton(dc, wxEmptyString, wxNullBitmap, rect, flags, align); }
|
||||
|
||||
#if wxUSE_TOOLBAR
|
||||
// draw a toolbar button (label may be empty, bitmap may be invalid, if
|
||||
// both conditions are true this function draws a separator)
|
||||
|
Reference in New Issue
Block a user