Doh! I changed the AddPane parameter names but didn't change their usage.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-07-10 16:02:19 +00:00
parent 7e664d85e6
commit 4c16bedf17

View File

@@ -213,15 +213,15 @@ The following example shows a simple implementation that utilizes
pane info, and defaults to ``wx.LEFT``. The pane caption may pane info, and defaults to ``wx.LEFT``. The pane caption may
also be specified as an extra parameter in this form. also be specified as an extra parameter in this form.
""" """
if type(arg1) == PaneInfo: if type(info) == PaneInfo:
return self._AddPane1(window, arg1) return self._AddPane1(window, info)
else: else:
# This Is AddPane2 # This Is AddPane2
if arg1 is None: if info is None:
arg1 = wx.LEFT info = wx.LEFT
if arg2 is None: if caption is None:
arg2 = "" caption = ""
return self._AddPane2(window, arg1, arg2) return self._AddPane2(window, info, caption)
} }
} }