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:
@@ -133,7 +133,7 @@ bool wxColour::operator == ( const wxColour& col ) const
|
|||||||
|
|
||||||
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 )
|
void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue )
|
||||||
|
@@ -133,7 +133,7 @@ bool wxColour::operator == ( const wxColour& col ) const
|
|||||||
|
|
||||||
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 )
|
void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue )
|
||||||
|
Reference in New Issue
Block a user