minor change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#if defined(__WXGTK20__)
|
#if defined(__WXGTK20__)
|
||||||
// for testing
|
// for testing
|
||||||
#define wxUSE_GENERICDATAVIEWCTRL 1
|
// #define wxUSE_GENERICDATAVIEWCTRL 1
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
#else
|
#else
|
||||||
#define wxUSE_GENERICDATAVIEWCTRL 1
|
#define wxUSE_GENERICDATAVIEWCTRL 1
|
||||||
@@ -82,6 +82,8 @@ private:
|
|||||||
|
|
||||||
bool operator == (const wxDataViewItem &left, const wxDataViewItem &right);
|
bool operator == (const wxDataViewItem &left, const wxDataViewItem &right);
|
||||||
|
|
||||||
|
WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray);
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
// wxDataViewModelNotifier
|
// wxDataViewModelNotifier
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
@@ -166,9 +168,6 @@ protected:
|
|||||||
// wxDataViewIndexListModel
|
// wxDataViewIndexListModel
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
|
|
||||||
// use hash map later
|
|
||||||
WX_DEFINE_ARRAY_PTR( void*, wxDataViewItemHash );
|
|
||||||
|
|
||||||
class wxDataViewIndexListModel: public wxDataViewModel
|
class wxDataViewIndexListModel: public wxDataViewModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -212,7 +211,7 @@ public:
|
|||||||
virtual wxDataViewItem GetNextSibling( const wxDataViewItem &item ) const;
|
virtual wxDataViewItem GetNextSibling( const wxDataViewItem &item ) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxDataViewItemHash m_hash;
|
wxDataViewItemArray m_hash;
|
||||||
unsigned int m_lastIndex;
|
unsigned int m_lastIndex;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -397,8 +396,6 @@ protected:
|
|||||||
// wxDataViewCtrlBase
|
// wxDataViewCtrlBase
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
|
|
||||||
WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray);
|
|
||||||
|
|
||||||
#define wxDV_SINGLE 0x0000 // for convenience
|
#define wxDV_SINGLE 0x0000 // for convenience
|
||||||
#define wxDV_MULTIPLE 0x0001 // can select multiple items
|
#define wxDV_MULTIPLE 0x0001 // can select multiple items
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user