// check if we're currently in a paint event
inline bool wxInPaintEvent(wxWindow* win, wxDC& dc)
{
+ wxUnusedVar(dc);
return ( win->MacGetCGContextRef() != NULL );
}
const wxRect& rect,
int flags = 0);
- virtual wxSize GetCheckBoxSize() const;
+ virtual wxSize GetCheckBoxSize(wxWindow* win);
virtual void DrawComboBoxDropButton(wxWindow *win,
wxDC& dc,
kind, kThemeAdornmentNone);
}
-wxSize wxRendererMac::GetCheckBoxSize() const
+wxSize wxRendererMac::GetCheckBoxSize(wxWindow* WXUNUSED(win))
{
wxSize size;
SInt32 width, height;