add wxDataViewIconText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -332,6 +332,21 @@ wxDataViewItem wxDataViewIndexListModel::GetNextSibling( const wxDataViewItem &i
|
||||
return wxDataViewItem( m_hash[pos+1] );
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxDataViewIconText
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxDataViewIconText,wxObject)
|
||||
|
||||
IMPLEMENT_VARIANT_OBJECT(wxDataViewIconText)
|
||||
|
||||
bool operator == (const wxDataViewIconText &one, const wxDataViewIconText &two)
|
||||
{
|
||||
if (one.GetText() != two.GetText()) return false;
|
||||
if (one.IsSameAs(two)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// wxDataViewRendererBase
|
||||
// ---------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user