added XRCSIZERITEM() allowing to directly retrieve the sizer from XRC by name (patch 1782080)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-09-16 10:50:01 +00:00
parent ebc9b89d52
commit 86909f4c89
8 changed files with 94 additions and 0 deletions

View File

@@ -274,6 +274,18 @@ Use parameter \arg{recursive} to search in subsizers too.
Returns pointer to item or NULL.
\membersection{wxSizer::GetItemById}\label{wxsizergetitembyid}
\func{wxSizerItem *}{GetItemById}{\param{int }{id}, \param{bool }{recursive = false}}
Finds item of the sizer which has the given \arg{id}. This \arg{id} is not the
window id but the id of the wxSizerItem itself. This is mainly useful for
retrieving the sizers created from XRC resources.
Use parameter \arg{recursive} to search in subsizers too.
Returns pointer to item or \NULL.
\membersection{wxSizer::GetSize}\label{wxsizergetsize}