The following fragment shows how to create a splitter window, creating
two subwindows and hiding one of them:

splitter=wx.SplitterWindow(self,-1,wx.Point(0,0),wx.Size(400,400),wx.SP_3D)leftWindow=MyWindow(splitter)leftWindow.SetScrollbars(20,20,50,50)rightWindow=MyWindow(splitter)rightWindow.SetScrollbars(20,20,50,50)rightWindow.Show(False)splitter.Initialize(leftWindow)# Set this to prevent unsplitting# splitter.SetMinimumPaneSize(20)

The next fragment shows how the splitter window can be manipulated
after creation: