X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9b5691a1bd10b5aa6bd06526e325f0f6b4d3f98..c52b96359b639cda516615f9433d3b20b35443b5:/docs/latex/wx/sizer.tex diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex index a04d36f72b..f4c4f94bc5 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} @@ -182,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} @@ -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 @@ -580,6 +595,23 @@ Note that by specification, all methods of wxSizerFlags return the wxSizerFlags object itself to allowing chaining multiple methods calls like in the examples above. +\wxheading{See also} + +\helpref{wxSizer}{wxsizer} + +\wxheading{Derived from} + +No base class + +\wxheading{Include files} + + + +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + +\latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxSizerFlags::wxSizerFlags}\label{wxsizerflagsctor}