Gtk Frames not keeping their position between hiding and showing

Stani's Python Editor wrote:

I can confirm this. A quick possible hack is:
def onClick(evt):
   frm = evt.GetEventObject()
   print 1, frm.GetPosition()
   frm.Show(False)
   print 2, frm.GetPosition()
   x, y = frm.GetPosition()
   frm.SetPosition((x,y+1))
   frm.SetPosition((x,y-1))
   frm.Show()
   print 3, frm.GetPosition()

But that should not be necessary. Probably it is a bug.

I ended up doing something like that, thanks. I've noticed a few places where things in wxPython need to be "jiggled" in order for the settings to take, and this seems to be another one of them.

···

--
pkm ~ http://paulmcnett.com