]> git.saurik.com Git - wxWidgets.git/commit - interface/wx/panel.h
Add wxPanel::SetBackgroundBitmap().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Mar 2011 00:00:49 +0000 (00:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Mar 2011 00:00:49 +0000 (00:00 +0000)
commitcd95f7e65c4e1ee61a5d90eb13687ff468cb13ad
tree1c5131951c77867646148ad88823a3c5b7dd62cc
parentcf858bab79c18d709b3fa3375202c2ddf3d599e5
Add wxPanel::SetBackgroundBitmap().

This method provides a simple way to set a background bitmap without defining
an EVT_ERASE_BACKGROUND handler and, more importantly, one that works
correctly in wxMSW for a window with children as it paints the background of
transparent children too.

Add a test of this method to the erase sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
19 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc9_core.vcproj
docs/changes.txt
include/wx/generic/panelg.h
include/wx/msw/panel.h
include/wx/panel.h
include/wx/univ/panel.h
interface/wx/panel.h
samples/erase/erase.cpp
src/generic/panelg.cpp [new file with mode: 0644]
src/msw/panel.cpp