Overriding the drawing of the background
Hi all (again). I’m creating a wxToolbar within a wxPanel. Everything
is working fine and now I want to override the drawing of the background –
I want to paste a texture into the background, basically. I’ve tried
responding to EVT_SIZE with my own paint event – created the wxPaintDC
did some simple drawing (using wxDC.Clear()) but it didn’t seem to have
any effect. Is there some finalization step? Also, none of the children
painted. What is the proper way to propagate a paint event to a window’s
children?
Alternately, is there a better way of doing this?
Thanks again. This forum has saved me loads of time and effort…
···
Jeff Kotula Sr. Principal Software Engineer
Vital Images jkotula@vitalimages.com
We’ve all heard that a million monkeys banging on a million
typewriters will eventually reproduce the entire works of
Shakespeare. Now, thanks to the Internet, we know this is
not true.
-- Robert Wilensky