]> git.saurik.com Git - wxWidgets.git/commit
Fixed parts of toolbar background not being drawn with older comctl32.dll.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Wed, 2 May 2012 14:44:45 +0000 (14:44 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Wed, 2 May 2012 14:44:45 +0000 (14:44 +0000)
commitae580de3763c475c61cf3200692ae7fecfb42d62
treed3b30ead859c542f9f660bc97ab07da231c0da60
parentc06efacb1c242a098e2a0a0ef6aeaf6546077c83
Fixed parts of toolbar background not being drawn with older comctl32.dll.

When using comctl32.dll versions older than 6.0 toolbar icons would not have their background drawn. Fix this in a rough way by always completely erasing the background like was done before. Regression since r62971.

Closes #13512.

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