the current length of the list for specifying an append instead of
sys.maxint.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38492
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
of the window stack. If sashPos is given then it is used to
size the new window.
"""
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):
def InsertWindow(self, idx, window, sashPos=-1):