]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/region.cpp
Back to previous call with -1 replacement.
[wxWidgets.git] / src / mac / classic / region.cpp
index 4bfadfd5bbca254f1f2349187ba2c16bad0ab9d6..6d3e1bafc5756b656bb014017404a44bd4d0b1e1 100644 (file)
 
 #include "wx/region.h"
 
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+    #include "wx/gdicmn.h"
+#endif
+
 #include "wx/mac/uma.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
@@ -36,7 +39,7 @@ public:
         CopyRgn( data.m_macRgn , m_macRgn ) ;
     }
 
-    ~wxRegionRefData()
+    virtual ~wxRegionRefData()
     {
         DisposeRgn( m_macRgn ) ;
     }