Added wxSizerFlags::Top() and Bottom()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-01-31 03:26:31 +00:00
parent 5ec9d741e0
commit ccee328e0b
3 changed files with 31 additions and 0 deletions

View File

@@ -75,8 +75,10 @@ public:
// some shortcuts for Align()
wxSizerFlags& Centre() { return Align(wxCENTRE); }
wxSizerFlags& Center() { return Centre(); }
wxSizerFlags& Top() { return Align(wxALIGN_TOP); }
wxSizerFlags& Left() { return Align(wxALIGN_LEFT); }
wxSizerFlags& Right() { return Align(wxALIGN_RIGHT); }
wxSizerFlags& Bottom() { return Align(wxALIGN_BOTTOM); }
// default border size used by Border() below
static int GetDefaultBorder()