Fixes to comparison operators for wxDVC classes.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Oct 2009 17:00:28 +0000 (17:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Oct 2009 17:00:28 +0000 (17:00 +0000)
commit9aa2e298aefd0c37719127a7078d313c488cf849
tree723f14848f193d4ff6ed897adff31959ae107156
parent31d4e10524b645ebb24161e6b5c78046a7e5038b
Fixes to comparison operators for wxDVC classes.

Comparison operators for wxDataViewItem and wxDataViewIconText were not inline
and not exported, resulting in linking errors for any code using them in
shared wx build. Fix this by making them inline.

Also correct wxDataViewIconText operator==() implementation to compare icons
as well and to return true when comparing the object with itself.

Finally add operator!=() matching existing operator==() as a class having one
of these operators is supposed to have the other one as well and it costs
nothing to define it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/dataview.h
src/common/datavcmn.cpp