// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dcclient.h"
#endif
+#include "wx/wxprec.h"
+
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
#include "wx/region.h"
#include "wx/window.h"
#include "wx/toplevel.h"
#include "wx/settings.h"
-#include <math.h>
+#include "wx/math.h"
#include "wx/mac/private.h"
//-----------------------------------------------------------------------------
CopyRgn( (RgnHandle) m_macBoundaryClipRgn , (RgnHandle) m_macCurrentClipRgn ) ;
m_macPort = UMAGetWindowPort( windowref ) ;
m_ok = TRUE ;
+ MacSetupGraphicContext() ;
SetBackground(MacGetBackgroundBrush(window));
}
m_macPort = UMAGetWindowPort( windowref ) ;
m_ok = TRUE ;
+ MacSetupGraphicContext() ;
SetBackground(MacGetBackgroundBrush(window));
SetFont( window->GetFont() ) ;
}
m_macPort = UMAGetWindowPort( windowref ) ;
m_ok = TRUE ;
+ MacSetupGraphicContext() ;
SetBackground(MacGetBackgroundBrush(window));
SetFont( window->GetFont() ) ;
}