]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for bug #1217874, Error in parameter name in DocManager.CreateView
authorRobin Dunn <robin@alldunn.com>
Fri, 10 Jun 2005 00:30:14 +0000 (00:30 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 10 Jun 2005 00:30:14 +0000 (00:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/docview.py

index 7d41d3dfe12109be1590d1b9924520921a2bd2fb..e99799ff3d87c7315fd84e0f11d6a6b5790c6dbc 100644 (file)
@@ -1889,7 +1889,7 @@ class DocManager(wx.EvtHandler):
         return None
 
 
-    def CreateView(self, document, flags=0):
+    def CreateView(self, doc, flags=0):
         """
         Creates a new view for the given document. If more than one view is
         allowed for the document (by virtue of multiple templates mentioning