]> git.saurik.com Git - wxWidgets.git/commit
Restore the use of the correct brush for toolbar background erasing.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 Dec 2009 14:46:38 +0000 (14:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 Dec 2009 14:46:38 +0000 (14:46 +0000)
commit388feca61be4505d644371a8465634b512411a1b
tree2fbd3221b696cdaf80bc02de19c497994dc088e7
parent404013f849619f420c671dab801e1aa4b2749836
Restore the use of the correct brush for toolbar background erasing.

The call to SetBrush() was mistakenly removed in r62850 but it is needed
because wxClientDC only inherits background colour but not the brush used by
DrawRectangle() call in wxToolBar::MSWEraseRect(), so the wrong colour was
used under systems < Vista.

Restore this call now.

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