[wxPython-users] Repainting a wx.TextCtrl
Robin Dunn
robin at alldunn.com
Mon Feb 4 10:45:55 PST 2008
Jesse Aldridge wrote:
> In the following code, I have a class called Custom_Text_Ctrl which
> extends wx.TextCtrl.
> I want to do custom painting every time the mouse enters or exits the
> text control.
> The Refresh method is supposed to trigger a repaint, right?
> So why does the paint method never seem to get called?
Platform and version?
Officially wx doesn't support customizing the painting of native
widgets, but depending on what you need to do and also on the platform
it can sometimes be made to work.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list