Add wxDataViewIconText::IsSameAs() and make comparison operators members.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Aug 2011 15:31:33 +0000 (15:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Aug 2011 15:31:33 +0000 (15:31 +0000)
commit60d10101b75097137a1bb7966fe381d2a90f2aa8
treeaa0f5f7ce429b5d9961c34dd6019e3108b8ffd8d
parent66d9eb612b21346bdfc0df6e2ba4770bd0f277d1
Add wxDataViewIconText::IsSameAs() and make comparison operators members.

Add IsSameAs() to make it simpler to call from the derived class operator==()
implementation.

Also make comparison operators themselves members instead of global functions
to avoid considering them as matches for all operator==() uses in the program,
there is really no need for this as we do _not_ want to allow implicitly
converting something to wxDataViewIconText when comparing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/dvrenderers.h