]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/region.cpp
Made wxSocket compile using makefiles; #ifdefed out <<, >> operators in stream.cpp
[wxWidgets.git] / src / msw / region.cpp
index 1e59e6b0b9d55393d92cd81e14901b8d9faf8f4a..dc55e46bffaf166fa7b3ce2634aa1976b5cb71a3 100644 (file)
@@ -36,6 +36,7 @@ class WXDLLEXPORT wxRegionRefData : public wxGDIRefData {
 public:
        wxRegionRefData(void)
        {
+        m_region = 0;
        }
 
        wxRegionRefData(const wxRegionRefData& data)
@@ -341,7 +342,7 @@ void wxRegionIterator::Reset(const wxRegion& region)
         m_rects = new wxRect[header->nCount];
 
         RECT* rect = (RECT*) (rgnData + sizeof(RGNDATAHEADER)) ;
-        uint i;
+        size_t i;
         for (i = 0; i < header->nCount; i++)
         {
             m_rects[i] = wxRect(rect->left, rect->top,