[wxPython] Background image in wxTextCtrl?

Hi,

I've tried using EVT_ERASE_BACKGROUND and EVT_PAINT to draw an image in
back of the text of a wxTextCtrl. Neither of the events seems to get
called.

Is this possible at all, or am I wasting my time? :slight_smile:

Or perhaps is it possible to set the background color to transparent?

Thanks in advance,

-scott

I've tried using EVT_ERASE_BACKGROUND and EVT_PAINT to draw an image in
back of the text of a wxTextCtrl. Neither of the events seems to get
called.

Is this possible at all,

Depending on the platform and on the particular control things like this may
or may not be possible.

or am I wasting my time? :slight_smile:

Possibly.

Or perhaps is it possible to set the background color to transparent?

I wish.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!