diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 5716e1a76f..785b86c9d2 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -368,6 +368,9 @@ WXDWORD wxToolBar::MSWGetStyle(long style, WXDWORD *exstyle) const if ( style & wxTB_NOALIGN ) msStyle |= CCS_NOPARENTALIGN; + if ( style & wxTB_VERTICAL ) + msStyle |= CCS_VERT; + return msStyle; } @@ -659,8 +662,8 @@ bool wxToolBar::Realize() wxToolBarToolBase *tool = node->GetData(); // don't add separators to the vertical toolbar - looks ugly - if ( isVertical && tool->IsSeparator() ) - continue; + //if ( isVertical && tool->IsSeparator() ) + // continue; TBBUTTON& button = buttons[i];