fixed a typo or two...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 1999-08-03 06:48:46 +00:00
parent 1dc2f8658b
commit 7bcd390c94

View File

@ -595,7 +595,7 @@ class wxAcceleratorTable(wxAcceleratorTablePtr):
#---------------------------------------------------------------------- #----------------------------------------------------------------------
# This helper function will take a wxPython object and convert it to # This helper function will take a wxPython object and convert it to
# another wxPython object type. This will not be able to create objects # another wxPython object type. This will not be able to create objects
# user that are derived from wxPython classes, only those that are # that are derived from wxPython classes by the user, only those that are
# actually part of wxPython and directly corespond to C++ objects. # actually part of wxPython and directly corespond to C++ objects.
# #
# This is useful in situations where some method returns a generic # This is useful in situations where some method returns a generic
@ -682,8 +682,8 @@ class wxApp(wxPyApp):
if filename: if filename:
sys.stdout = sys.stderr = open(filename, 'a') sys.stdout = sys.stderr = open(filename, 'a')
else: else:
#raise self.error, 'wxPyStdOutWindow not yet implemented.' raise self.error, 'wxPyStdOutWindow not yet implemented.'
self.stdioWin = sys.stdout = sys.stderr = wxPyStdOutWindow() #self.stdioWin = sys.stdout = sys.stderr = wxPyStdOutWindow()
def RestoreStdio(self): def RestoreStdio(self):
sys.stdout, sys.stderr = self.saveStdio sys.stdout, sys.stderr = self.saveStdio