X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92c32bbee7cde97f465a5632734d63f050f5d550..bb2212e6c46d1a661d937450255ede09aff19ede:/src/osx/carbon/renderer.cpp diff --git a/src/osx/carbon/renderer.cpp b/src/osx/carbon/renderer.cpp index ecae8ddd39..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 ); } @@ -75,7 +76,7 @@ public: const wxRect& rect, int flags = 0); - virtual wxSize GetCheckBoxSize() const; + virtual wxSize GetCheckBoxSize(wxWindow* win); virtual void DrawComboBoxDropButton(wxWindow *win, wxDC& dc, @@ -381,7 +382,7 @@ wxRendererMac::DrawCheckBox(wxWindow *win, kind, kThemeAdornmentNone); } -wxSize wxRendererMac::GetCheckBoxSize() const +wxSize wxRendererMac::GetCheckBoxSize(wxWindow* WXUNUSED(win)) { wxSize size; SInt32 width, height;