]> git.saurik.com Git - wxWidgets.git/commit
Remove the hack with changing the parent background colour in wxInfoBar.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:57:39 +0000 (22:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 5 Oct 2009 22:57:39 +0000 (22:57 +0000)
commit15ea6e205bc11e2348b8f33097c4d92abb762fb5
treec49023ed0ff3de2b4564eed0d8ebc170310f3b7d
parentec20a753b99f318de3bccf86a741a867717e6a92
Remove the hack with changing the parent background colour in wxInfoBar.

Finding the closest info bar to copy the background colour from only worked
for very simple layouts and failed for more complicated ones with nested
sizers so don't try to change the colour automatically, it's easy enough to do
it manually as shown in the updated dialogs sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/infobar.h
samples/dialogs/dialogs.cpp
src/generic/infobar.cpp