vertical wxToolbar problems in MSW

Vadim Zeitlin vadim at wxwindows.org
Sun Mar 4 13:53:22 PST 2007


On Fri, 02 Mar 2007 15:20:43 +0000 Leslie Newell <lesnewell at fmail.co.uk> wrote:

LN> I did some searching and found an old patch to fix the problem. It looks 
LN> like a fudge to me but it does work.
LN> 
LN> --- src/msw/tbar95.cpp.0    Mon May 29 23:57:03 2006
LN> +++ src/msw/tbar95.cpp    Tue Dec 12 14:19:33 2006
LN>  -1063,9
LN> +1063,9
LN>      }
LN>      else if ( m_nButtons > 0 ) // vertical non empty
LN> toolbar
LN>      {
LN> -        if ( m_maxRows == 0 )
LN>          {
LN>              // if not set yet, have one column
LN> +            m_maxRows = 1;
LN>              SetRows(m_nButtons);
LN>          }
LN>      }

 This patch was applied to wx about 2 months ago so the problem should be
fixed in 2.8.2.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list