wxWidgets/samples/widgets
Vadim Zeitlin ebfee17940 Simplify and correct MSW selection of background brush for children painting.
Check for the transparency of the window background in MSWGetBgBrush() itself
and let MSWGetBgBrushForChild() just return the brush to be used.

This required adding a MSW-specific hack to wxPanel to allow inheriting
background of wxNotebook by its children which is slightly ugly but is exactly
what we need to do in this case and makes the rest of the code much simpler.

Also add a possibility to set the background of the page containing the
control being tested to the widgets sample to test for background inheritance.
This shows problems with wxSlider and wxRadioBox backgrounds but they're not
new with this patch.

Closes #12057.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-21 12:51:20 +00:00
..
icons
bmpcombobox.cpp
button.cpp Add support for showing "elevation" icon in wxMSW buttons. 2010-02-08 19:52:00 +00:00
checkbox.cpp
choice.cpp
clrpicker.cpp
combobox.cpp Add wxComboBox::Popup() and Dismiss() to manually show or hide its popup. 2010-01-24 01:00:45 +00:00
datepick.cpp
dirctrl.cpp
dirpicker.cpp
editlbox.cpp
filectrl.cpp
filepicker.cpp
fontpicker.cpp
gauge.cpp
hyperlnk.cpp
itemcontainer.cpp
itemcontainer.h
listbox.cpp
makefile.bcc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
makefile.gcc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
Makefile.in Rebake. 2010-01-09 19:56:18 +00:00
makefile.mic
makefile.unx
makefile.vc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
makefile.wat Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
notebook.cpp
odcombobox.cpp
radiobox.cpp
searchctrl.cpp
slider.cpp
spinbtn.cpp Use GetWidgets() in the widgets samples instead of GetWidget2(). 2010-05-13 15:31:30 +00:00
statbmp.cpp
static.cpp
textctrl.cpp Test wxTE_PROCESS_ENTER style in the widgets sample. 2010-02-03 21:07:46 +00:00
toggle.cpp
widgets_vc7.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
widgets_vc8.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
widgets_vc9.vcproj Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
widgets.bkl
widgets.cpp Simplify and correct MSW selection of background brush for children painting. 2010-05-21 12:51:20 +00:00
widgets.dsp
widgets.h Use GetWidgets() in the widgets samples instead of GetWidget2(). 2010-05-13 15:31:30 +00:00