#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)
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;