X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b51786f6e56a7d8517107c8b497f0ddb07696ad..582699e1ac533e85ba62ae320c6e922ad1685bec:/src/common/colourcmn.cpp diff --git a/src/common/colourcmn.cpp b/src/common/colourcmn.cpp index 99243dd383..a03efa7942 100644 --- a/src/common/colourcmn.cpp +++ b/src/common/colourcmn.cpp @@ -110,7 +110,7 @@ wxString wxColourBase::GetAsString(long flags) const if ( (flags & wxC2S_NAME) && isOpaque ) { colName = wxTheColourDatabase->FindName( - wx_static_cast(const wxColour &, *this)).MakeLower(); + static_cast(*this)).MakeLower(); } if ( colName.empty() )