added wxTB_RIGHT style for right-aligned toolbars (slightly modified patch 1567469)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-29 19:12:52 +00:00
parent 3af706cc31
commit 7a9763046b
8 changed files with 137 additions and 56 deletions

View File

@@ -420,7 +420,7 @@ public:
wxToolBarToolBase *FindById(int toolid) const;
// return true if this is a vertical toolbar, otherwise false
bool IsVertical() const { return HasFlag(wxTB_VERTICAL); }
bool IsVertical() const { return HasFlag(wxTB_LEFT | wxTB_RIGHT); }
// the old versions of the various methods kept for compatibility