From: Julian Smart Date: Thu, 18 May 2006 09:35:25 +0000 (+0000) Subject: Added Set/GetQuickBestSize X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/77a1771911ed222ba6861ead327c3735fc16a0b1?ds=inline Added Set/GetQuickBestSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/treectrl.tex b/docs/latex/wx/treectrl.tex index d8cc835544..0c25fccc32 100644 --- a/docs/latex/wx/treectrl.tex +++ b/docs/latex/wx/treectrl.tex @@ -595,6 +595,18 @@ Returns an invalid tree item if there are no further children. Returns the previous visible item. +\membersection{wxTreeCtrl::GetQuickBestSize}\label{wxtreectrlgetquickbestsize} + +\constfunc{bool}{GetQuickBestSize}{\void} + +Returns true if the control will use a quick calculation for the best size, +looking only at the first and last items. The default is false. + +\wxheading{See also} + +\helpref{wxTreeCtrl::SetQuickBestSize}{wxtreectrlsetquickbestsize} + + \membersection{wxTreeCtrl::GetRootItem}\label{wxtreectrlgetrootitem} \constfunc{wxTreeItemId}{GetRootItem}{\void} @@ -909,6 +921,19 @@ Sets the item label. Sets the colour of the item's text. +\membersection{wxTreeCtrl::SetQuickBestSize}\label{wxtreectrlsetquickbestsize} + +\func{void}{SetQuickBestSize}{\param{bool}{ quickBestSize}} + +If true is passed, specifies that the control will use a quick calculation for the best size, +looking only at the first and last items. Otherwise, it will look at all items. +The default is false. + +\wxheading{See also} + +\helpref{wxTreeCtrl::GetQuickBestSize}{wxtreectrlgetquickbestsize} + + \membersection{wxTreeCtrl::SetStateImageList}\label{wxtreectrlsetstateimagelist} \func{void}{SetStateImageList}{\param{wxImageList*}{ imageList}} @@ -978,3 +1003,4 @@ all items if it does have this style. \func{void}{UnselectItem}{\param{const wxTreeItemId\& }{item}} Unselects the given item. This works in multiselection controls only. + diff --git a/docs/latex/wx/wxmsw.tex b/docs/latex/wx/wxmsw.tex index 2deb5254de..5e8d60ee84 100644 --- a/docs/latex/wx/wxmsw.tex +++ b/docs/latex/wx/wxmsw.tex @@ -357,7 +357,7 @@ each library path. For example: {\tt ..$\backslash$\$(PlatformName)$\backslash$\ Then, for a sample you want to compile, edit the configuration properties and make sure {\tt ..$\backslash$..$\backslash$lib$\backslash$\$(PlatformName)$\backslash$\$(ConfigurationName)} is in the Linker/General/Additional Library Directories property. Also change the Linker/Input/Additional Dependencies -property to something like {\tt coredll.lib wx\_mono.lib wx\_wxjpeg.lib wx\_wxpng.lib wx\_wxzlib.lib wx\_wxexpat.lib commctrl.lib winsock.lib wininet.lib} +property to something like {\tt coredll.lib wx\_mono.lib wx\_wxjpeg.lib wx\_wxpng.lib wx\_wxzlib.lib wx\_wxexpat.lib commctrl.lib winsock.lib wininet.lib}\rtfsp (since the library names in the wxWidgets workspace were changed by VS 2005). Alternately, you could could edit all the names to be identical to the original eVC++