X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/173d67aa518500b3e43c0970d05a761d8e72e68d..2e14066008229145e2da7b9f05a478ce38631f83:/src/common/imagfill.cpp diff --git a/src/common/imagfill.cpp b/src/common/imagfill.cpp index efe4df5961..df260c0398 100644 --- a/src/common/imagfill.cpp +++ b/src/common/imagfill.cpp @@ -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;