]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/SplitTree.py
updated ReST docs
[wxWidgets.git] / wxPython / demo / SplitTree.py
index 0a73acdacbdbe9e6c179671b5957468c99b8b1b8..0f7b4da9e4db647624a6ef6e0242c4557ef3144a 100644 (file)
@@ -105,7 +105,7 @@ class TestPanel(wx.Panel):
 
         valueWindow = TestValueWindow(splitter, style=wx.NO_BORDER)
 
-        splitter.SplitVertically(tree, valueWindow, 150)
+        wx.CallAfter(splitter.SplitVertically, tree, valueWindow, 150)
         scroller.SetTargetWindow(tree)
         scroller.EnableScrolling(False, False)