Make wxDataViewItemArray more efficient
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cb367500d1
commit
4f1cf94b94
@ -74,6 +74,7 @@ public:
|
||||
{ m_id = item.m_id; }
|
||||
bool IsOk() const { return m_id != NULL; }
|
||||
void* GetID() const { return m_id; }
|
||||
operator const void* () const { return m_id; }
|
||||
|
||||
private:
|
||||
void* m_id;
|
||||
@ -396,7 +397,7 @@ protected:
|
||||
// wxDataViewCtrlBase
|
||||
// ---------------------------------------------------------
|
||||
|
||||
WX_DECLARE_OBJARRAY(wxDataViewItem, wxDataViewItemArray);
|
||||
WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray);
|
||||
|
||||
#define wxDV_SINGLE 0x0000 // for convenience
|
||||
#define wxDV_MULTIPLE 0x0001 // can select multiple items
|
||||
|
@ -533,9 +533,6 @@ void wxDataViewColumnBase::SetFlags(int flags)
|
||||
// wxDataViewCtrlBase
|
||||
// ---------------------------------------------------------
|
||||
|
||||
#include "wx/arrimpl.cpp"
|
||||
WX_DEFINE_OBJARRAY(wxDataViewItemArray);
|
||||
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxDataViewCtrlBase, wxControl)
|
||||
|
||||
wxDataViewCtrlBase::wxDataViewCtrlBase()
|
||||
|
Loading…
Reference in New Issue
Block a user