I have a wxSplitterWindow with a wxPanel containing a wxTreeCtrl in one side and a wxPanel in the other. On windows with wxPython 2.3.1 it worked perfectly. Using 2.3.2, the left hand window only shows the left side notebook tabs. When I click on the sash it jumps to the value I set in the SetMin method.
I tried to make a small script to repeat the event but failed. Can I force an event onto the scolledwindow for it jump to the minimum value.
I have a wxSplitterWindow with a wxPanel containing a wxTreeCtrl
in one side and a wxPanel in the other. On windows with wxPython
2.3.1 it worked perfectly. Using 2.3.2, the left hand window only
shows the left side notebook tabs. When I click on the sash it
jumps to the value I set in the SetMin method.
It may be as simple as forcing a size event on the frame as there was some
effort done to reduce redundant size events. If your frame is shown and/or
sized before the other windows have been added to it they what you describe
could happen. An easy way to take care of it is to not set the size of the
frame in wxFrame.__init__ but later at the end of YourFrame.__init__ with a
self.SetSize().
ยทยทยท
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!