Added missing const for operator !=

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-05-15 13:13:17 +00:00
parent 6dcbb6d0d9
commit f8169ce715

View File

@@ -79,7 +79,7 @@ public:
m_green == colour.m_green &&
m_blue == colour.m_blue);
}
bool operator != (const wxColour& colour) { return !(*this == colour); }
bool operator != (const wxColour& colour) const { return !(*this == colour); }
void InitFromName(const wxString& col);