I need help with GenBitmapTextButton

Marcelo Barbero wrote:

I need to put the number in the code below INTO the picture (picture not
included, choose a little squared Windows bitmap, for example: 100x100).

How can I do that?

You can create a bitmap on the fly by creating an empty bitmap, selecting it into a wx.MemoryDC and then drawing on that DC with the regular drawing functions. This way you can have it contain whatever you need.

···

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