X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8898456df4728afe7d100011e0e23b0ffb9a6341..c363ead1e206e599d6564ac939ac7342d165e0e3:/src/common/imagfill.cpp diff --git a/src/common/imagfill.cpp b/src/common/imagfill.cpp index 89c1e5f784..fdc8784ef6 100644 --- a/src/common/imagfill.cpp +++ b/src/common/imagfill.cpp @@ -22,10 +22,9 @@ #include "wx/brush.h" #include "wx/dc.h" #include "wx/dcmemory.h" + #include "wx/image.h" #endif -#include "wx/image.h" - // DoFloodFill // Fills with the colour extracted from fillBrush, starting at x,y until either // a color different from the start pixel is reached (wxFLOOD_SURFACE) @@ -277,7 +276,7 @@ wxImageFloodFill(wxImage *image, bool wxDoFloodFill(wxDC *dc, wxCoord x, wxCoord y, const wxColour& col, int style) { - if (dc->GetBrush().GetStyle() == wxTRANSPARENT) + if (dc->GetBrush().GetStyle() == wxBRUSHSTYLE_TRANSPARENT) return true; int height = 0;