]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/layout.tex
changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMov...
[wxWidgets.git] / docs / latex / wx / layout.tex
index ac9f3bffc3a1dca9e80acdd0d0a81ae50a70f83c..e7cb36b22f6f8ba8be880359e93d4803ee1ea7a9 100644 (file)
@@ -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.
 
@@ -28,9 +30,9 @@ not be changed.
 
 \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}
 }