How specify display order?

val wrote:

Hi,
I would like to display a button on top of an image.
I have created a wx.StaticBitmap and a wx.Button and the button
and when I put the button on the image it does not display.
The order of creating the bitmap and the button seems to make
no difference and I can't find a zorder like command which will
set the button on top.

You're looking for the Raise() method, but wx does not support overlapping sibling controls, or rather, it may support them depending on platform but the behavior is undefined. Try a parent/child relationship instead.

ยทยทยท

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