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:
Robert Roebling
2000-05-17 20:07:24 +00:00
parent a5fc62d05d
commit 1b51ff0849
14 changed files with 24 additions and 144 deletions

View File

@@ -100,12 +100,12 @@ wxPen& wxPen::operator = ( const wxPen& pen )
return *this;
}
bool wxPen::operator == ( const wxPen& pen )
bool wxPen::operator == ( const wxPen& pen ) const
{
return m_refData == pen.m_refData;
}
bool wxPen::operator != ( const wxPen& pen )
bool wxPen::operator != ( const wxPen& pen ) const
{
return m_refData != pen.m_refData;
}