]> git.saurik.com Git - wxWidgets.git/commit
Don't force themed background for wxToolBar under MSW, just use the default.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 Dec 2009 20:49:15 +0000 (20:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 Dec 2009 20:49:15 +0000 (20:49 +0000)
commitb93051ef464981ad580518dc88a985f28db1e0dd
tree65ba71363f9094e4403fc074e1e930d37c42ff92
parent3b9ba64cce90f096763d70915fd459bfdf6a57d3
Don't force themed background for wxToolBar under MSW, just use the default.

Native toolbars don't have themed background under Vista/7 and don't look good
with rebar background (which is the same one as used for the menus) as
toolbars don't appear on the top of the window.

Erasing background ourselves also results in flicker and display problems and
makes the code much more complicated. Simply don't do this to avoid all the
problems.

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