]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/renderer.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / univ / renderer.h
index cec9197297d695f5fa1e5a234d61316e75b165f4..ddbf384e5acf70cc0b60e45102e21a45f3f06e86 100644 (file)
@@ -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)