]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor doc updates
authorRobert Roebling <robert@roebling.de>
Wed, 17 Oct 2007 07:56:19 +0000 (07:56 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 17 Oct 2007 07:56:19 +0000 (07:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/dataviewctrl.tex
docs/latex/wx/dataviewmodel.tex
docs/latex/wx/dataviewtreestore.tex

index 015be9a82296202eb7e7f20a9b70b096381a7610..26d39eb4da4220e1686cbcebf59ffabbe8133761 100644 (file)
@@ -165,7 +165,7 @@ created in the function or NULL on failure.
 \func{virtual bool}{AssociateModel}{\param{wxDataViewModel* }{model}}
 
 Associates a \helpref{wxDataViewModel}{wxdataviewmodel} with the
-control. 
+control. This increases the reference count of the model by 1.
 
 \membersection{wxDataViewCtrl::Create}\label{wxdataviewctrlcreate}
 
index 4e56edd006459af61743c81981a8e09ae07e1ce5..c7b01eae7495a3e71ff834e70f54fadb39e9cf42 100644 (file)
@@ -72,12 +72,10 @@ associating the model with a control like this:
 
 {\small%
 \begin{verbatim}
-    wxDataViewCtrl *musicCtrl = new wxDataViewCtrl( this, ID_MUSIC_CTRL, wxDefaultPosition,
-                                                     wxDefaultSize, wxDV_MULTIPLE );
+    wxDataViewCtrl *musicCtrl = new wxDataViewCtrl( this, ID_MUSIC_CTRL );
     wxDataViewModel *musicModel = new MyMusicModel;
     m_musicCtrl->AssociateModel( musicModel );
     musicModel->DecRef();  // avoid memory leak !!
-
     // add columns now
 \end{verbatim}
 }%
index 66505a5edc886885cd42c6f983d640afaf0af50b..e028f32048589855c2dcf4e685d5673f33590c51 100644 (file)
@@ -4,8 +4,8 @@
 wxDataViewTreeStore is a specialised \helpref{wxDataViewModel}{wxdataviewmodel}
 for displaying simple trees very much like \helpref{wxTreeCtrl}{wxtreectrl}
 does and it offers a similar API. This class actually stores the entire
-tree (therefore its name) and implements all virtual from the base class
-so it can be used directly without having to derive any class from it.
+tree (therefore its name) and implements all virtual methods from the base
+class so it can be used directly without having to derive any class from it.
 This comes at the price of much reduced flexibility.
 
 \wxheading{Derived from}
@@ -16,6 +16,11 @@ This comes at the price of much reduced flexibility.
 
 <dataview.h>
 
+\wxheading{Library}
+
+\helpref{wxAdv}{librarieslist}
+
+
 \membersection{wxDataViewTreeStore::wxDataViewTreeStore}\label{wxdataviewtreestorewxdataviewtreestore}
 
 \func{}{wxDataViewTreeStore}{\void}