]> git.saurik.com Git - wxWidgets.git/commit
simplifications and corrections to background drawing:
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Apr 2005 15:23:08 +0000 (15:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Apr 2005 15:23:08 +0000 (15:23 +0000)
commitc3732409acc7a1e0b3cdb1f0a5dec7cc49a4b28b
tree6a5f36cd30fa1aee03ca019c38bcf172369566b1
parent47561b0dc572e82f9b01b881a12202b1a8542163
simplifications and corrections to background drawing:

1. removed ApplyParentThemeBackground() not used any longer
2. removed ProvidesBackground() which is synonymous with
   !HasTransparentBackground()
3. removed a whole bunch of unused MSWXXX() methods
4. moved MSWControlColor() from wxWindow up to wxControl

results:

1. the gradient is still shown properly for static/radio boxes in notebooks
2. correct background colour is used for the static boxes
3. code is shorter and better commented

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
32 files changed:
include/wx/bmpbuttn.h
include/wx/bookctrl.h
include/wx/generic/panelg.h
include/wx/msw/button.h
include/wx/msw/checkbox.h
include/wx/msw/control.h
include/wx/msw/listbox.h
include/wx/msw/notebook.h
include/wx/msw/private.h
include/wx/msw/radiobox.h
include/wx/msw/radiobut.h
include/wx/msw/statbox.h
include/wx/msw/stattext.h
include/wx/msw/window.h
include/wx/palmos/button.h
include/wx/palmos/radiobox.h
include/wx/palmos/radiobut.h
include/wx/slider.h
include/wx/statline.h
include/wx/toplevel.h
include/wx/vlbox.h
include/wx/window.h
src/generic/timer.cpp
src/msw/checkbox.cpp
src/msw/choice.cpp
src/msw/control.cpp
src/msw/notebook.cpp
src/msw/radiobox.cpp
src/msw/statbox.cpp
src/msw/stattext.cpp
src/msw/textctrl.cpp
src/msw/window.cpp