]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/region.cpp
Build fix.
[wxWidgets.git] / src / gtk1 / region.cpp
index 2e212047d1a4f13035c733f0aa3077ce6badf356..80fd038c6d5e9f5732d595f91c418a094af39c48 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        gtk/region.cpp
+// Name:        src/gtk1/region.cpp
 // Purpose:
 // Author:      Robert Roebling
 // Modified:    VZ at 05.10.00: use AllocExclusive(), comparison fixed
 #include "wx/wxprec.h"
 
 #include "wx/region.h"
-#include "wx/log.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/log.h"
+#endif
+
 #include "wx/gtk1/private.h"
 
 
@@ -59,7 +63,7 @@ public:
         m_region = gdk_regions_union(wxGdkRegion(), refData.m_region);
     }
 
-    ~wxRegionRefData()
+    virtual ~wxRegionRefData()
     {
         if (m_region)
             gdk_region_destroy( m_region );
@@ -568,4 +572,3 @@ wxRect wxRegionIterator::GetRect() const
 
     return r;
 }
-