X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20b35a6916b9b54af4bbfe4227393c08cd9a2724..56aed4aace5692ac9ae5b332f84630609cb97c92:/docs/latex/wx/sizeritem.tex diff --git a/docs/latex/wx/sizeritem.tex b/docs/latex/wx/sizeritem.tex index 725d4694c6..885981eaef 100644 --- a/docs/latex/wx/sizeritem.tex +++ b/docs/latex/wx/sizeritem.tex @@ -26,11 +26,15 @@ wxSizerItem, but derived sizer classes will. Construct a sizer item for tracking a spacer. +\func{}{wxSizerItem}{\param{wxWindow* }{window}, \param{const wxSizerFlags\& }{flags}} + \func{}{wxSizerItem}{\param{wxWindow* }{window}, \param{int }{proportion}, \param{int }{flag}, \param{int }{border}, \param{wxObject* }{userData}} Construct a sizer item for tracking a window. +\func{}{wxSizerItem}{\param{wxSizer* }{window}, \param{const wxSizerFlags\& }{flags}} + \func{}{wxSizerItem}{\param{wxSizer* }{sizer}, \param{int }{proportion}, \param{int }{flag}, \param{int }{border}, \param{wxObject* }{userData}} Construct a sizer item for tracking a subsizer. @@ -104,6 +108,12 @@ Get the proportion item attribute. Get the ration item attribute. +\membersection{wxSizerItem::GetRect}\label{wxsizeritemgetrect} + +\func{wxRect}{GetRect}{\void} + +Get the rectangle of the item on the parent window, excluding borders. + \membersection{wxSizerItem::GetSize}\label{wxsizeritemgetsize} \constfunc{wxSize}{GetSize}{\void} @@ -135,7 +145,7 @@ Get the userData item attribute. \constfunc{wxWindow*}{GetWindow}{\void} -If this item is trackign a window then return it. NULL otherwise. +If this item is tracking a window then return it. NULL otherwise. \membersection{wxSizerItem::IsShown}\label{wxsizeritemisshown} @@ -173,7 +183,7 @@ Set the border item attribute. \membersection{wxSizerItem::SetDimension}\label{wxsizeritemsetdimension} -\func{void}{SetDimension}{\param{wxPoint }{pos}, \param{wxSize }{size}} +\func{void}{SetDimension}{\param{const wxPoint\& }{pos}, \param{const wxSize\& }{size}} Set the position and size of the space allocated to the sizer, and adjust the position and size of the item to be within that space