fixed wxColour::operator!=

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-06-27 10:27:09 +00:00
parent a750cce7a5
commit b6ab93c400
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ bool wxColour::operator == ( const wxColour& col ) const
bool wxColour::operator != ( const wxColour& col) const
{
return m_refData != col.m_refData;
return !(*this == col);
}
void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue )

View File

@@ -133,7 +133,7 @@ bool wxColour::operator == ( const wxColour& col ) const
bool wxColour::operator != ( const wxColour& col) const
{
return m_refData != col.m_refData;
return !(*this == col);
}
void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue )