]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxSplitterWindow.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxSplitterWindow.py
index fac9cbee578f787ec23a18b5af0765699fe94d44..206244f6c090ae9d252884cd2c32cdab18d3be17 100644 (file)
@@ -35,8 +35,12 @@ def runTest(frame, nb, log):
     wxStaticText(p2, -1, "Panel Two", wxPoint(5,5)).SetBackgroundColour(wxBLUE)
 
     splitter.SetMinimumPaneSize(20)
     wxStaticText(p2, -1, "Panel Two", wxPoint(5,5)).SetBackgroundColour(wxBLUE)
 
     splitter.SetMinimumPaneSize(20)
-    splitter.SplitVertically(p1, p2)
-    splitter.SetSashPosition(100)
+    splitter.SplitVertically(p1, p2, 100)
+
+##     splitter.SetSize((300,300))
+##     print splitter.GetSashPosition()
+##     splitter.SetSashPosition(100)
+##     print splitter.GetSashPosition()
 
     return splitter
 
 
     return splitter