X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..2e25e7b7629b9c362d1fc689b536032a35441b8c:/docs/latex/wx/layout.tex?ds=sidebyside diff --git a/docs/latex/wx/layout.tex b/docs/latex/wx/layout.tex index 31ec86c587..018b1f3064 100644 --- a/docs/latex/wx/layout.tex +++ b/docs/latex/wx/layout.tex @@ -26,6 +26,14 @@ width and height will be used, to be compatible with panel items which often have take a default size. If the constraint is wxAsIs, the dimension will not be changed. +\perlnote{In wxPerl the constraints are accessed as +\begin{verbatim} + constraint = Wx::LayoutConstraints->new(); + constraint->centreX->AsIs(); + constraint->centreY->Unconstrained(); +\end{verbatim} +} + \wxheading{Derived from} \helpref{wxObject}{wxobject}