]> git.saurik.com Git - wxWidgets.git/commitdiff
Added Set/GetQuickBestSize
authorJulian Smart <julian@anthemion.co.uk>
Thu, 18 May 2006 09:35:25 +0000 (09:35 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 18 May 2006 09:35:25 +0000 (09:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/treectrl.tex
docs/latex/wx/wxmsw.tex

index d8cc8355444b200a35987b4c7d56a099b50bf8f6..0c25fccc32b537b205554168770b1415269f7b02 100644 (file)
@@ -595,6 +595,18 @@ Returns an invalid tree item if there are no further children.
 Returns the previous visible item.
 
 
 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}
 \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.
 
 
 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}}
 \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.
 \func{void}{UnselectItem}{\param{const wxTreeItemId\& }{item}}
 
 Unselects the given item. This works in multiselection controls only.
+
index 2deb5254de6c0273b5c99fd8d53cf828478a1fba..5e8d60ee846135502251f3c002e3452ba6478a50 100644 (file)
@@ -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
 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++
 (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++