#----------------------------------------------------------------------
# Name: wx.lib.splitter
# Purpose: A class similar to wx.SplitterWindow but that allows more
-# a single split
+# than a single split
#
# Author: Robin Dunn
#
"""
import wx
-import sys
_RENDER_VER = (2,6,1,1)
of the window stack. If sashPos is given then it is used to
size the new window.
"""
- self.InsertWindow(sys.maxint, window, sashPos)
+ self.InsertWindow(len(self._windows), window, sashPos)
def InsertWindow(self, idx, window, sashPos=-1):