X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6783cae428bd825191040780017f4a0b4599d8ff..3e6858cdcb9278b36446466c346d984e7e306553:/src/common/gdicmn.cpp?ds=inline diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index fa208d6fa2..eb7c32078f 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -758,14 +758,14 @@ wxPen *wxPenList::FindOrCreatePen (const wxColour& colour, int width, int style) return pen; } -wxBrush *wxBrushList::FindOrCreateBrush (const wxColour& colour, int style) +wxBrush *wxBrushList::FindOrCreateBrush (const wxColour& colour, wxBrushStyle style) { for ( wxList::compatibility_iterator node = list.GetFirst(); node; node = node->GetNext() ) { wxBrush * const brush = (wxBrush *) node->GetData (); - if ( brush->GetStyle () == style && brush->GetColour() == colour ) + if ( brush->GetStyle() == style && brush->GetColour() == colour ) return brush; }