X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a0a5ada86913e591479c1150d23135b0fe5e7e6..6d9022fe3bb50a75b9b5eaf5cf32558e518ba310:/src/mac/dc.cpp diff --git a/src/mac/dc.cpp b/src/mac/dc.cpp index 5778b90b07..0b9ac3ab1e 100644 --- a/src/mac/dc.cpp +++ b/src/mac/dc.cpp @@ -649,13 +649,13 @@ void wxDC::SetLogicalFunction( int function ) m_macPenInstalled = false ; } -extern void wxDoFloodFill(wxDC *dc, wxCoord x, wxCoord y, +extern bool wxDoFloodFill(wxDC *dc, wxCoord x, wxCoord y, const wxColour & col, int style); -void wxDC::DoFloodFill(wxCoord x, wxCoord y, +bool wxDC::DoFloodFill(wxCoord x, wxCoord y, const wxColour& col, int style) { - wxDoFloodFill(this, x, y, col, style); + return wxDoFloodFill(this, x, y, col, style); } bool wxDC::DoGetPixel( wxCoord x, wxCoord y, wxColour *col ) const