X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99c4be680622f58a48a04dfe0835b59d2c41afea..43b2d5e7c3b3e3d6b245e279dde73d96e0075911:/src/osx/carbon/renderer.cpp diff --git a/src/osx/carbon/renderer.cpp b/src/osx/carbon/renderer.cpp index cc98ee5651..49e9c18244 100644 --- a/src/osx/carbon/renderer.cpp +++ b/src/osx/carbon/renderer.cpp @@ -38,6 +38,7 @@ // check if we're currently in a paint event inline bool wxInPaintEvent(wxWindow* win, wxDC& dc) { + wxUnusedVar(dc); return ( win->MacGetCGContextRef() != NULL ); } @@ -100,7 +101,7 @@ public: virtual void DrawTextCtrl(wxWindow* win, wxDC& dc, const wxRect& rect, int flags=0); - virtual void DrawOptionButton(wxWindow* win, wxDC& dc, const wxRect& rect, int flags=0); + virtual void DrawRadioButton(wxWindow* win, wxDC& dc, const wxRect& rect, int flags=0); private: void DrawMacThemeButton(wxWindow *win, @@ -500,7 +501,7 @@ void wxRendererMac::DrawComboBox(wxWindow* win, wxDC& dc, DrawMacThemeButton(win, dc, rect, flags, kind, kThemeAdornmentNone); } -void wxRendererMac::DrawOptionButton(wxWindow* win, wxDC& dc, +void wxRendererMac::DrawRadioButton(wxWindow* win, wxDC& dc, const wxRect& rect, int flags) { int kind;