]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/colourcmn.cpp
remove wxSOCKET_MAX_EVENT, it is not really necessary and results in gcc warnings...
[wxWidgets.git] / src / common / colourcmn.cpp
index 99243dd383ee5a444f8fcb103dc1750b62ccf4ad..a03efa79426b683672767b3b882c14d009c49498 100644 (file)
@@ -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<const wxColour &>(*this)).MakeLower();
     }
 
     if ( colName.empty() )