X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2ee1945871d7b9d71ec18954ffb2f0f239c2e57..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/include/wx/univ/renderer.h diff --git a/include/wx/univ/renderer.h b/include/wx/univ/renderer.h index ddbf384e5a..c03a245dc3 100644 --- a/include/wx/univ/renderer.h +++ b/include/wx/univ/renderer.h @@ -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) @@ -877,8 +870,9 @@ public: wxControlRenderer(wxWindow *control, wxDC& dc, wxRenderer *renderer); // operations - void DrawLabel(const wxBitmap& bitmap = wxNullBitmap, - wxCoord marginX = 0, wxCoord marginY = 0); + void DrawLabel(); + void DrawButtonLabel(const wxBitmap& bitmap = wxNullBitmap, + wxCoord marginX = 0, wxCoord marginY = 0); #if wxUSE_LISTBOX void DrawItems(const wxListBox *listbox, size_t itemFirst, size_t itemLast);