X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..e143fb636d50d5802dcc8c7c2e9e8e2944afa467:/include/wx/univ/renderer.h diff --git a/include/wx/univ/renderer.h b/include/wx/univ/renderer.h index cec9197297..ddbf384e5a 100644 --- a/include/wx/univ/renderer.h +++ b/include/wx/univ/renderer.h @@ -208,6 +208,13 @@ 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)