X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89efaf2b6595e59af618556d7e79492cab50c73c..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/common/imagfill.cpp diff --git a/src/common/imagfill.cpp b/src/common/imagfill.cpp index fa4992fe6b..df260c0398 100644 --- a/src/common/imagfill.cpp +++ b/src/common/imagfill.cpp @@ -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;