]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/renderer.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / renderer.h
index b2bb8e2eb773cce7cbebae8784ecc730fa2f1481..16bd75f9bf1ff16701f5369cc3134aa6447711b0 100644 (file)
@@ -278,7 +278,7 @@ public:
                               int flags = 0) = 0;
 
     // Draw a native wxRadioButton (just the graphical portion)
-    virtual void DrawOptionButton(wxWindow* win,
+    virtual void DrawRadioButton(wxWindow* win,
                                   wxDC& dc,
                                   const wxRect& rect,
                                   int flags = 0) = 0;
@@ -443,11 +443,11 @@ public:
                               int flags = 0)
         { m_rendererNative.DrawTextCtrl( win, dc, rect, flags); }
 
-    virtual void DrawOptionButton(wxWindow* win,
+    virtual void DrawRadioButton(wxWindow* win,
                                   wxDC& dc,
                                   const wxRect& rect,
                                   int flags = 0)
-        { m_rendererNative.DrawOptionButton( win, dc, rect, flags); }
+        { m_rendererNative.DrawRadioButton( win, dc, rect, flags); }
 
     virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win)
         { return m_rendererNative.GetSplitterParams(win); }
@@ -458,7 +458,7 @@ public:
 protected:
     wxRendererNative& m_rendererNative;
 
-    DECLARE_NO_COPY_CLASS(wxDelegateRendererNative)
+    wxDECLARE_NO_COPY_CLASS(wxDelegateRendererNative);
 };
 
 // ----------------------------------------------------------------------------