X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7376079d095725be0fd5b1a105cbfecafc8b3576..380740af5dd112601916704a6d78d1112ebb31b5:/docs/latex/wx/sizer.tex diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex index 3688d09adc..f4c4f94bc5 100644 --- a/docs/latex/wx/sizer.tex +++ b/docs/latex/wx/sizer.tex @@ -185,7 +185,7 @@ Adds stretchable space to the sizer. More readable way of calling \func{wxSize}{CalcMin}{\void} This method is abstract and has to be overwritten by any derived class. -Here, the sizer will do the actual calculation of its children minimal sizes. +Here, the sizer will do the actual calculation of its children's minimal sizes. \membersection{wxSizer::Clear}\label{wxsizerclear} @@ -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}