]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxSizerFlags::Left/Right()
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 11 Mar 2005 01:55:23 +0000 (01:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 11 Mar 2005 01:55:23 +0000 (01:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/sizer.tex
include/wx/sizer.h

index ef5c5b2c263941c9067d45c1f4cf1415b0a519a8..22d64fe7e7acd0a6115a5b30d8a2ee8c691793ed 100644 (file)
@@ -468,6 +468,12 @@ Sets the alignment of this wxSizerFlags to \tt{align}.
 
 Note that if this method is not called, the wxSizerFlags has no specified alignment.
 
+\wxheading{See also}
+
+\helpref{Left}{wxsizerflagsleft},\\
+\helpref{Right}{wxsizerflagsright},\\
+\helpref{Centre}{wxsizerflagscentre}
+
 
 \membersection{wxSizerFlags::Border}\label{wxsizerflagsborder}
 
@@ -501,6 +507,17 @@ Sets the object of the wxSizerFlags to center itself in the area it is given.
 Sets the object of the wxSizerFlags to expand to fill as much area as it can.
 
 
+\membersection{wxSizerFlags::Left}\label{wxsizerflagsleft}
+
+\func{wxSizerFlags\& }{Left}{\void}
+
+Aligns the object to the left, shortcut for \texttt{Align(wxALIGN\_LEFT)}
+
+\wxheading{See also}
+
+\helpref{Align}{wxsizerflagsalign}
+
+
 \membersection{wxSizerFlags::Proportion}\label{wxsizerflagsproportion}
 
 \func{wxSizerFlags\& }{Proportion}{\param{int }{proportion = 0}}
@@ -508,4 +525,13 @@ Sets the object of the wxSizerFlags to expand to fill as much area as it can.
 Sets the proportion of this wxSizerFlags to \tt{proportion}
 
 
+\membersection{wxSizerFlags::Right}\label{wxsizerflagsright}
+
+\func{wxSizerFlags\& }{Right}{\void}
+
+Aligns the object to the right, shortcut for \texttt{Align(wxALIGN\_RIGHT)}
+
+\wxheading{See also}
+
+\helpref{Align}{wxsizerflagsalign}
 
index c245371191ac01e95401d51980674258b2c2298c..78581ba30c56488220a995c7238a9ad83a89f5c6 100644 (file)
@@ -69,6 +69,8 @@ public:
     wxSizerFlags& Expand() { return Align(wxEXPAND); }
     wxSizerFlags& Centre() { return Align(wxCENTRE); }
     wxSizerFlags& Center() { return Centre(); }
+    wxSizerFlags& Left() { return Align(wxALIGN_LEFT); }
+    wxSizerFlags& Right() { return Align(wxALIGN_RIGHT); }
 
 
     wxSizerFlags& Border(int direction, int borderInPixels)