wxwidgets/samples/widgets
Vadim Zeitlin 2af006ebd3 Fix wxStaticBox label redrawing when "Alt" is pressed in wxMSW.
The default handling for Alt key press in the standard control is to redraw
the label to account for showing of the keyboard queues (i.e. if the mnemonics
were initially hidden, they are shown when Alt is pressed) but it doesn't
redraw it in the correct colour resulting in any custom label colour being
lost whenever Alt is pressed anywhere in the window containing the box.

Fix this by forcing the box refresh which will result in repainting it using
our code which does use the correct colour.

Also update the static page of the widgets sample to allow changing the
colours of all static controls on this page, including the wxStaticBox, and
not just the main wxStaticText.

Closes #12497.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-21 11:44:41 +00:00
..
icons added wxGenericStaticBitmap (#9608) 2008-06-21 15:32:33 +00:00
bmpcombobox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
button.cpp Add new wxCommandLinkButton class. 2010-08-17 14:48:50 +00:00
checkbox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
choice.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
clrpicker.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
combobox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
datepick.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
dirctrl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
dirpicker.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
editlbox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
filectrl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
filepicker.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
fontpicker.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
gauge.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
hyperlnk.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
itemcontainer.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
itemcontainer.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
listbox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +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 Rebake. 2010-01-09 19:56:18 +00:00
makefile.mic Added missing licence line 2004-11-22 20:40:22 +00:00
makefile.unx Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
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 Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
odcombobox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
radiobox.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
searchctrl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
slider.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
spinbtn.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
statbmp.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
static.cpp Fix wxStaticBox label redrawing when "Alt" is pressed in wxMSW. 2010-09-21 11:44:41 +00:00
textctrl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
toggle.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
widgets.bkl add headers to the samples' bakefiles so that they show up in MSVC project files 2009-03-04 11:47:32 +00:00
widgets.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
widgets.dsp Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
widgets.h Use GetWidgets() in the widgets samples instead of GetWidget2(). 2010-05-13 15:31:30 +00:00
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