wxWidgets/samples
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
..
access Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
animate Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
artprov Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
aui Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
calendar Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
caret render characters on OSX one by one as fractional widths leads to errors otherwise 2010-04-18 18:49:21 +00:00
clipboard Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
collpane Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
combo Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
config Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
console remove TestTimer() (adds nothing to existing tests) and move wxStopWatch tests to a new CppUnit test. 2010-05-16 15:44:17 +00:00
controls Fix focus debugging in the controls sample. 2010-05-21 12:51:14 +00:00
dataview Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
debugrpt Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
dialogs Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
dialup Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
display Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
dll Check in samples/dll for WXUSINGDLL. 2010-04-30 16:46:22 +00:00
dnd Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
docview No changes, just cleanup the image part of the docview sample. 2010-05-13 14:37:06 +00:00
dragimag Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
drawing Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
erase Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
event Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
except Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
exec Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
flash Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
font Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
fswatcher Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
grid Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
help Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
htlbox Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
html Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
image Don't use wxWindow::ClearBackground() in the image sample and explain why. 2010-05-10 21:02:30 +00:00
internat Fix typo in internat sample. 2010-04-24 07:06:11 +00:00
ipc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
joytest Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
keyboard Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
layout Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
listctrl Fix wxListCtrl::EndEditLabel() which simply didn't work. 2010-05-20 22:04:03 +00:00
mdi Add wxWindow::ProcessWindowEventLocally() and use it in wxMSW MDI code. 2010-05-09 14:55:33 +00:00
mediaplayer Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
memcheck Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
menu Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
mfc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
minimal Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
nativdlg Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
notebook Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
oleauto Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
opengl Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
ownerdrw No real changes, just fix typos in the ownerdrw sample. 2010-04-21 14:40:42 +00:00
popup Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
power Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
printing Make text drawn by wxGraphicsContext slightly less intrusive 2010-05-13 08:36:37 +00:00
propgrid Correctly use wxANY_AS() instead of wxAny::As<>(), for VC6 compatibility 2010-04-18 10:19:35 +00:00
regtest Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
render Add more tests for wxRendererNative::DrawHeaderButton(). 2010-05-15 10:47:33 +00:00
ribbon Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
richtext Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
sashtest Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
scroll Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
shaped Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
sockets Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
sound Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
splash Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
splitter Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
statbar Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
stc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
svg Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
taborder Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
taskbar Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
text Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
thread Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
toolbar Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
treectrl Add wxTreeCtrl::{Clear,Set}FocusedItem(). 2010-05-02 12:01:30 +00:00
typetest Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
uiaction Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
validate Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
vscroll Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
widgets Simplify and correct MSW selection of background brush for children painting. 2010-05-21 12:51:20 +00:00
wizard Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
wrapsizer Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
xrc Regenerated makefiles after removing USE_GDIPLUS. 2010-04-09 14:14:26 +00:00
Info.plist removed minimal-specific Info.plist; updated the version in the generic one 2007-03-18 11:54:18 +00:00
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
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
sample.ico
sample.r making proper resource-fork apps 2007-05-05 17:22:09 +00:00
sample.rc
sample.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
samples.bkl Adding wxUIActionSimulator, a class for programmatically controlling the mouse and keyboard. 2010-03-06 20:09:23 +00:00
samples.dsw Add ribbon sample to the list of samples to build. 2009-09-16 23:18:55 +00:00