X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/991ad6cd02abc6fc3c963d944a3158f3ff267497..78cd9c69eb3f4c158fe10ce49325d57ec05d1306:/docs/latex/wx/sizer.tex diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex index f74a4713fb..ccf896b2aa 100644 --- a/docs/latex/wx/sizer.tex +++ b/docs/latex/wx/sizer.tex @@ -43,13 +43,16 @@ capabilities for the various virtual methods.} \wxheading{Derived from} -\helpref{wxObject}{wxobject}\\ -\helpref{wxClientDataContainer}{wxclientdatacontainer} +\helpref{wxObject}{wxobject} \wxheading{Include files} +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} \helpref{Sizer overview}{sizeroverview} @@ -271,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} @@ -557,7 +572,7 @@ allows you to specify all parameters using the named methods instead. For example, instead of \begin{verbatim} - sizer->Add(ctrl, 0, wxEXPAND | wxBORDER, 10); + sizer->Add(ctrl, 0, wxEXPAND | wxALL, 10); \end{verbatim} you can now write @@ -592,6 +607,10 @@ No base class +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxSizerFlags::wxSizerFlags}\label{wxsizerflagsctor}