]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/region.h
initialize m_ownsConv (part of patch 1836644)
[wxWidgets.git] / include / wx / gtk / region.h
index 1886952495a9724e20c54b13b7118f4e557eeb86..26caf77531d10873046460a30227ae4030bfd05b 100644 (file)
@@ -37,6 +37,7 @@ public:
 
     wxRegion( size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE );
 
+#if wxUSE_IMAGE
     wxRegion( const wxBitmap& bmp)
     {
         Union(bmp);
@@ -46,6 +47,7 @@ public:
     {
         Union(bmp, transColour, tolerance);
     }
+#endif // wxUSE_IMAGE
 
     virtual ~wxRegion();