Browse Source

Changed close() to Close() to match wx.Window.Close()

Mike Christel 15 years ago
parent
commit
de863430ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/wxwidgets/ViewPort.py

+ 1 - 1
direct/src/wxwidgets/ViewPort.py

@@ -131,7 +131,7 @@ class Viewport(wx.Panel, DirectObject):
 ##     self.accept("page_up-repeat", self.zoomIn)
     #self.accept("mouse3", self.onRightDown)
   
-  def close(self):
+  def Close(self):
     """Closes the viewport."""
     if self.initialized:
        wx.Window.Close(self)