]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/region.cpp
compilation fix after wxBitmap image changes
[wxWidgets.git] / src / msw / region.cpp
index 3be6d5496cde38e4d199eb12c9ca8bdb5e225370..3083a5a635d072aa73ca3084b599b839bc2097e3 100644 (file)
@@ -72,7 +72,7 @@ public:
 
 private:
 // Cannot use
-//  DECLARE_NO_COPY_CLASS(wxRegionRefData)
+//  wxDECLARE_NO_COPY_CLASS(wxRegionRefData);
 // because copy constructor is explicitly declared above;
 // but no copy assignment operator is defined, so declare
 // it private to prevent the compiler from defining it:
@@ -92,7 +92,7 @@ private:
 
 wxRegion::wxRegion()
 {
-    m_refData = (wxRegionRefData *)NULL;
+    m_refData = NULL;
 }
 
 wxRegion::wxRegion(WXHRGN hRegion)