X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..c56ae04274fda26269c6d06be34cf59a45eb70ce:/src/common/imagfill.cpp diff --git a/src/common/imagfill.cpp b/src/common/imagfill.cpp index 08f35858c4..9545f46ed4 100644 --- a/src/common/imagfill.cpp +++ b/src/common/imagfill.cpp @@ -62,12 +62,15 @@ static void LINKAGEMODE wxImageFloodFill(wxImage *image, wxCoord x, wxCoord y, const wxBrush & fillBrush, const wxColour& testColour, int style, - int LogicalFunction) + int WXUNUSED(LogicalFunction)) { /* A diamond flood-fill using a circular queue system. Each pixel surrounding the current pixel is added to the queue if it meets the criteria, then is retrieved in - its turn. Code originally based on http://www.drawit.co.nz/Developers.htm */ + its turn. Code originally based on http://www.drawit.co.nz/Developers.htm, + with explicit permission to use this for wxWidgets granted by Andrew Empson + (no copyright claimed) + */ int width = image->GetWidth(); int height = image->GetHeight(); @@ -306,4 +309,3 @@ bool wxDoFloodFill(wxDC *dc, wxCoord x, wxCoord y, } #endif // wxUSE_IMAGE -