<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..82e94f591f2638b07a4f28c096d94ec7e8571c20:/docs/latex/wx/layout.tex

diff --git a/docs/latex/wx/layout.tex b/docs/latex/wx/layout.tex
index 31ec86c587..e7cb36b22f 100644
--- a/docs/latex/wx/layout.tex
+++ b/docs/latex/wx/layout.tex
@@ -1,5 +1,7 @@
 \section{\class{wxLayoutConstraints}}\label{wxlayoutconstraints}
 
+{\bf Note:} constraints are now deprecated and you should use \helpref{sizers}{sizeroverview} instead.
+
 Objects of this class can be associated with a window to define its
 layout constraints, with respect to siblings or its parent.
 
@@ -26,6 +28,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-&gt;new();
+  constraint-&gt;centreX-&gt;AsIs();
+  constraint-&gt;centreY-&gt;Unconstrained();
+\end{verbatim}
+}
+
 \wxheading{Derived from}
 
 \helpref{wxObject}{wxobject}
</pre></body></html>