\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.
\perlnote{In wxPerl the constraints are accessed as
\begin{verbatim}
- my( \$constraint ) = Wx::LayoutConstraints->new();
- \$constraint->centreX->AsIs();
- \$constraint->centreY->Unconstrained();
+ constraint = Wx::LayoutConstraints->new();
+ constraint->centreX->AsIs();
+ constraint->centreY->Unconstrained();
\end{verbatim}
}