added wxTB_HORZ_TEXT (patch 713813); documented it; moved toolbar styles to toolbar.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-10 10:53:00 +00:00
parent 341baa4c71
commit f9dae7798b
17 changed files with 122 additions and 57 deletions

View File

@@ -57,7 +57,8 @@ static void GetGtkStyle(long style,
if ( style & wxTB_TEXT )
{
*gtkStyle = style & wxTB_NOICONS ? GTK_TOOLBAR_TEXT : GTK_TOOLBAR_BOTH;
*gtkStyle = style & wxTB_NOICONS ? GTK_TOOLBAR_TEXT :
( style & wxTB_HORZ_LAYOUT ? GTK_TOOLBAR_BOTH_HORIZ: GTK_TOOLBAR_BOTH );
}
else // no text, hence we must have the icons or what would we show?
{