Make wxDataViewModel derive from wxRefCounter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
wxDataViewIndexListModel, wxDataViewVirtualListModel, wxDataViewTreeStore,
|
||||
wxDataViewListStore.
|
||||
|
||||
Note that wxDataViewModel is reference counted, derives from wxObjectRefData
|
||||
Note that wxDataViewModel is reference counted, derives from wxRefCounter
|
||||
and cannot be deleted directly as it can be shared by several wxDataViewCtrls.
|
||||
This implies that you need to decrease the reference count after
|
||||
associating the model with a control like this:
|
||||
@@ -78,7 +78,7 @@
|
||||
@library{wxadv}
|
||||
@category{dvc}
|
||||
*/
|
||||
class wxDataViewModel : public wxObjectRefData
|
||||
class wxDataViewModel : public wxRefCounter
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
Reference in New Issue
Block a user