X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99c4be680622f58a48a04dfe0835b59d2c41afea..b90817de2b4543762b308f15f7010a19e941991e:/src/osx/carbon/renderer.cpp diff --git a/src/osx/carbon/renderer.cpp b/src/osx/carbon/renderer.cpp index cc98ee5651..b0138ca631 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 DrawRadioBitmap(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::DrawRadioBitmap(wxWindow* win, wxDC& dc, const wxRect& rect, int flags) { int kind;