]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/layout.tex
added a note that wxStringList is obsolete
[wxWidgets.git] / docs / latex / wx / layout.tex
index ac9f3bffc3a1dca9e80acdd0d0a81ae50a70f83c..018b1f3064d7377d103e9d17abb853b797f715db 100644 (file)
@@ -28,9 +28,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}
 }