X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..f6ed38239c20927281363f3828323e05b4917c0e:/docs/latex/wx/layout.tex

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}
