Try splitter.Refresh() .
Otherwise try splitter.UnSplit();splitter.SplitVertically(...)
- Josiah
···
Danny Shevitz <shevitz@lanl.gov> wrote:
Howdy. I have a quick question on splitter windows.
I want to allow the user to toggle the sash between horizontal and
vertical. I don't
know how to get the splitter to redraw.
I have tried (a similar block for horizontal)splitter.SetSplitMode(wx.SPLIT_VERTICAL)
splitter.SplitVertically(win1, win2)But this still doesn't force a redraw. What is the simplest thing I need to
do to get
the visual state to change.