#include "wx/dc.h"
#include "wx/dcclient.h"
#include "wx/utils.h"
+#include "wx/settings.h"
#include <stdio.h>
if (m_width <= 0 || m_height <= 0)
return;
- if ( !IsWindowHilited( MacGetRootWindow() ) &&
+ if ( !IsWindowHilited( (WindowRef) MacGetRootWindow() ) &&
( GetBackgroundColour() == wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE )
|| GetBackgroundColour() == wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE) ) )
{