]> git.saurik.com Git - wxWidgets.git/commit
Don't set stretchable spacers size to 0, this doesn't work so use 1 instead.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Jan 2010 00:29:05 +0000 (00:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Jan 2010 00:29:05 +0000 (00:29 +0000)
commit187839afce1e1d4dca177bd78081c9d51ce549df
tree3a0077f3681006ab816e5c519b881c8933dc3553
parent5852e62f1fe76907832ba2c7f2b4099635e44c4b
Don't set stretchable spacers size to 0, this doesn't work so use 1 instead.

If the toolbar is not big enough for its fixed-size contents, we set the size
of the tools corresponding to stretchable spacers to 0 but this didn't really
work and resulted in bad toolbar appearance even after resizing it to be big
enough (as could be seen in samples/xrc).

So set the spacers size to at least 1 to ensure that we do resize them
correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/toolbar.cpp