]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagfill.cpp
Update version to 2.9.4 in version.bkl too and rebake everything.
[wxWidgets.git] / src / common / imagfill.cpp
index fa4992fe6b9652be122ce82fc63f1e295dfe9220..df260c0398e2f352df92b4e7ad34752f7f3b3c6b 100644 (file)
@@ -276,7 +276,7 @@ wxImageFloodFill(wxImage *image,
 bool wxDoFloodFill(wxDC *dc, wxCoord x, wxCoord y,
                    const wxColour& col, wxFloodFillStyle style)
 {
-    if (dc->GetBrush().GetStyle() == wxBRUSHSTYLE_TRANSPARENT)
+    if (dc->GetBrush().IsTransparent())
         return true;
 
     int height = 0;