]> git.saurik.com Git - wxWidgets.git/commitdiff
Make wxDataViewModel derive from wxRefCounter
authorRobert Roebling <robert@roebling.de>
Sun, 14 Jun 2009 14:11:07 +0000 (14:11 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 14 Jun 2009 14:11:07 +0000 (14:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dataview.h
interface/wx/dataview.h

index aa2ec3025b424c737cbdce1fe4b4b1a2b12acd75..63e2f6460b1f84d1d3eef0a88a1d28c5200fb74f 100644 (file)
@@ -161,7 +161,7 @@ private:
 WX_DECLARE_LIST_WITH_DECL(wxDataViewModelNotifier, wxDataViewModelNotifiers,
                           class WXDLLIMPEXP_ADV);
 
 WX_DECLARE_LIST_WITH_DECL(wxDataViewModelNotifier, wxDataViewModelNotifiers,
                           class WXDLLIMPEXP_ADV);
 
-class WXDLLIMPEXP_ADV wxDataViewModel: public wxObjectRefData
+class WXDLLIMPEXP_ADV wxDataViewModel: public wxRefCounter
 {
 public:
     wxDataViewModel();
 {
 public:
     wxDataViewModel();
index 79db099c1fb399defcf11fb453cf1183c263e63f..fcdd636a19fca325da2111b5f5c063a0788ef2e6 100644 (file)
@@ -61,7 +61,7 @@
     wxDataViewIndexListModel, wxDataViewVirtualListModel, wxDataViewTreeStore,
     wxDataViewListStore.
 
     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:
     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}
 */
     @library{wxadv}
     @category{dvc}
 */
-class wxDataViewModel : public wxObjectRefData
+class wxDataViewModel : public wxRefCounter
 {
 public:
     /**
 {
 public:
     /**