Added a couple of const to == and != operators.
Removed no-flicker hack which seems to be a problem on Sun. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -96,12 +96,12 @@ wxBrush& wxBrush::operator = ( const wxBrush& brush )
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool wxBrush::operator == ( const wxBrush& brush )
|
||||
bool wxBrush::operator == ( const wxBrush& brush ) const
|
||||
{
|
||||
return m_refData == brush.m_refData;
|
||||
}
|
||||
|
||||
bool wxBrush::operator != ( const wxBrush& brush )
|
||||
bool wxBrush::operator != ( const wxBrush& brush ) const
|
||||
{
|
||||
return m_refData != brush.m_refData;
|
||||
}
|
||||
|
Reference in New Issue
Block a user