Added Set/GetQuickBestSize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2006-05-18 09:35:25 +00:00
parent 7c3840677c
commit 77a1771911
2 changed files with 27 additions and 1 deletions

View 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} \membersection{wxTreeCtrl::GetRootItem}\label{wxtreectrlgetrootitem}
\constfunc{wxTreeItemId}{GetRootItem}{\void} \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} \membersection{wxTreeCtrl::SetStateImageList}\label{wxtreectrlsetstateimagelist}
\func{void}{SetStateImageList}{\param{wxImageList*}{ imageList}} \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}} \func{void}{UnselectItem}{\param{const wxTreeItemId\& }{item}}
Unselects the given item. This works in multiselection controls only. Unselects the given item. This works in multiselection controls only.

View 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 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 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 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). (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++ Alternately, you could could edit all the names to be identical to the original eVC++