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

This commit is contained in:
Mike Christel 2010-08-20 22:22:27 +00:00
parent 032d46a3bc
commit de863430ae
1 changed files with 1 additions and 1 deletions

View File

@ -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)