]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/region.cpp
changed Refresh to take Rect as client coordinates not window coordinates
[wxWidgets.git] / src / msw / region.cpp
index cb214071d08a3497a7ded6e7700052e354f57a2a..e051bb12775f22dd74bc9877e92932c78d2caf55 100644 (file)
@@ -43,7 +43,7 @@ public:
 
     wxRegionRefData(const wxRegionRefData& data)
     {
-#if defined(__WIN32__)
+#if defined(__WIN32__) && !defined(__WXMICROWIN__)
         DWORD noBytes = ::GetRegionData(data.m_region, 0, NULL);
         RGNDATA *rgnData = (RGNDATA*) new char[noBytes];
         ::GetRegionData(data.m_region, noBytes, rgnData);