From 4c16bedf179acf883041b6fcede0a430ddf34022 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 10 Jul 2006 16:02:19 +0000 Subject: [PATCH] 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 --- wxPython/src/aui.i | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wxPython/src/aui.i b/wxPython/src/aui.i index 5b5d8b999e..72cf5dcc7e 100755 --- a/wxPython/src/aui.i +++ b/wxPython/src/aui.i @@ -213,15 +213,15 @@ The following example shows a simple implementation that utilizes pane info, and defaults to ``wx.LEFT``. The pane caption may also be specified as an extra parameter in this form. """ - if type(arg1) == PaneInfo: - return self._AddPane1(window, arg1) + if type(info) == PaneInfo: + return self._AddPane1(window, info) else: # This Is AddPane2 - if arg1 is None: - arg1 = wx.LEFT - if arg2 is None: - arg2 = "" - return self._AddPane2(window, arg1, arg2) + if info is None: + info = wx.LEFT + if caption is None: + caption = "" + return self._AddPane2(window, info, caption) } }