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:
@@ -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?
|
||||
{
|
||||
|
Reference in New Issue
Block a user