painting widgets

Hi,

Is it possible to paint widgets (spinbox, combo, textbox etc) in paint
event? If not by painting, are there any hacks to do the same?

Prashant
Python 2.6.2
wxPython 2.8.10.1
Win XP 32

No. Although you may be able to do it on some platforms for some widgets, in general wx does not support overriding the painting of any of the native widgets and the results will be "undefined."

···

On 12/23/09 8:56 AM, King wrote:

Hi,

Is it possible to paint widgets (spinbox, combo, textbox etc) in paint
event? If not by painting, are there any hacks to do the same?

--
Robin Dunn
Software Craftsman