From: Robert Roebling Date: Wed, 17 Oct 2007 07:56:19 +0000 (+0000) Subject: Minor doc updates X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/729a8b9b44003a5553436d0209541c427afbcca9 Minor doc updates git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/dataviewctrl.tex b/docs/latex/wx/dataviewctrl.tex index 015be9a822..26d39eb4da 100644 --- a/docs/latex/wx/dataviewctrl.tex +++ b/docs/latex/wx/dataviewctrl.tex @@ -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} diff --git a/docs/latex/wx/dataviewmodel.tex b/docs/latex/wx/dataviewmodel.tex index 4e56edd006..c7b01eae74 100644 --- a/docs/latex/wx/dataviewmodel.tex +++ b/docs/latex/wx/dataviewmodel.tex @@ -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} }% diff --git a/docs/latex/wx/dataviewtreestore.tex b/docs/latex/wx/dataviewtreestore.tex index 66505a5edc..e028f32048 100644 --- a/docs/latex/wx/dataviewtreestore.tex +++ b/docs/latex/wx/dataviewtreestore.tex @@ -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. +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} + + \membersection{wxDataViewTreeStore::wxDataViewTreeStore}\label{wxdataviewtreestorewxdataviewtreestore} \func{}{wxDataViewTreeStore}{\void}