X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99c4be680622f58a48a04dfe0835b59d2c41afea..250ab35a3ba226a3e1bd7517b18b7b46a37785ad:/include/wx/renderer.h diff --git a/include/wx/renderer.h b/include/wx/renderer.h index b2bb8e2eb7..fbe6a105af 100644 --- a/include/wx/renderer.h +++ b/include/wx/renderer.h @@ -277,11 +277,11 @@ public: const wxRect& rect, int flags = 0) = 0; - // Draw a native wxRadioButton (just the graphical portion) - virtual void DrawOptionButton(wxWindow* win, - wxDC& dc, - const wxRect& rect, - int flags = 0) = 0; + // Draw a native wxRadioButton bitmap + virtual void DrawRadioBitmap(wxWindow* win, + wxDC& dc, + const wxRect& rect, + int flags = 0) = 0; // geometry functions // ------------------ @@ -443,11 +443,11 @@ public: int flags = 0) { m_rendererNative.DrawTextCtrl( win, dc, rect, flags); } - virtual void DrawOptionButton(wxWindow* win, - wxDC& dc, - const wxRect& rect, - int flags = 0) - { m_rendererNative.DrawOptionButton( win, dc, rect, flags); } + virtual void DrawRadioBitmap(wxWindow* win, + wxDC& dc, + const wxRect& rect, + int flags = 0) + { m_rendererNative.DrawRadioBitmap(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); }; // ----------------------------------------------------------------------------