]> 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 efe4df59617960fe64ad3fc2176188d7311b2628..df260c0398e2f352df92b4e7ad34752f7f3b3c6b 100644 (file)
@@ -274,9 +274,9 @@ wxImageFloodFill(wxImage *image,
 
 
 bool wxDoFloodFill(wxDC *dc, wxCoord x, wxCoord y,
-                   const wxColour& col, int style)
+                   const wxColour& col, wxFloodFillStyle style)
 {
-    if (dc->GetBrush().GetStyle() == wxBRUSHSTYLE_TRANSPARENT)
+    if (dc->GetBrush().IsTransparent())
         return true;
 
     int height = 0;