]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcclient.cpp
made absence of wxCHANGE_DIR flag work even under NT (slightly modified patch 1299298)
[wxWidgets.git] / src / msw / dcclient.cpp
index f3ffe0ebd39bb2ba403d182394934ff5e30b1209..51a6826af04738545f37fc3d1d16624736f39cc5 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "dcclient.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -169,7 +165,7 @@ void wxClientDC::InitDC()
     }
 
     // clip the DC to avoid overwriting the non client area
-    SetClippingRegion(wxPoint(), m_canvas->GetClientSize());
+    SetClippingRegion(wxPoint(0,0), m_canvas->GetClientSize());
 #endif // __WXUNIVERSAL__ || __WXWINCE__
 }