Fixed drawing glitch with vertical MSW toolbars.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 27 Feb 2011 15:09:13 +0000 (15:09 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 27 Feb 2011 15:09:13 +0000 (15:09 +0000)
commit87c7345cd0595cb05be3eed1d8498744ceea9cf4
tree102aaa056bc4bc34923b78daf690448842ab3989
parentc21a9bda7aa6b18c0729076ce2910e05dab4b6b7
Fixed drawing glitch with vertical MSW toolbars.

In case of a certain amount of whitespace at the bottom of a vertical toolbar it would not be drawn correctly: the more whitespace the more painting would be clipped starting from the left (covering the whole height of the toolbar) until the toolbar would look completely empty.

This was reproducible using the toolbar sample, setting the toolbar on the left or right edge of the window and then increasing the height of the window sufficiently.

Regression since r62971.

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