]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/layout.tex
let the sample display existing page on start
[wxWidgets.git] / docs / latex / wx / layout.tex
index 31ec86c5874fb95c5174091317bcd855ac582b73..018b1f3064d7377d103e9d17abb853b797f715db 100644 (file)
@@ -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}