]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/region.cpp
no changes; just code cleanup in OnEraseBackground()
[wxWidgets.git] / src / msw / region.cpp
index 4b88f32bd16458147a940aabb47cabb8891fe039..eb6e6721597a46808fe732d68502012340dfa7e1 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "region.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -48,7 +44,7 @@ public:
         m_region = 0;
     }
 
-    wxRegionRefData(const wxRegionRefData& data)
+    wxRegionRefData(const wxRegionRefData& data) : wxGDIRefData()
     {
 #if defined(__WIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
         DWORD noBytes = ::GetRegionData(data.m_region, 0, NULL);