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;