// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dcclient.h"
#endif
{
wxRect r = m_wnd->GetClientRect();
m_globalClippingRegion.Intersect(r);
+ SetClippingRegion(m_globalClippingRegion);
SetDeviceOrigin(r.x, r.y);
}