Window does not fit unless I resize...
simon kagwe
simonkagwe at yahoo.com
Mon Jun 4 08:14:57 PDT 2007
Hi,
At some point in my program, a splitterwindow has to be destoyed and similar
one opened in its place. I have this in my code:
self.CreateMainWindow()#method for creating a new self.splitter
# do a lot of stuff
self.splitter.Show(False)
self.splitter.Destroy()
self.CreateMainWindow()
self.Refresh()
The first CreateMainWindow is called when the app first loads and it fits into
the frame nicely. However, when I try to replace it, the splitterwindow is
bungled on the top-left corner of the frame. When I resize a bit, it fits into
the frame. What am I doing wrong?
More information about the wxpython-users
mailing list