empty dictionary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25861
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
shell.autoCompleteAutoHide added with default of True.
shell.autoCompleteAutoHide added with default of True.
+Changed default namespace of Shell to __main__.__dict__, instead of an
+empty dictionary.
+
0.9.3 (9/25/2003 to 1/24/2004)
------------------------------
0.9.3 (9/25/2003 to 1/24/2004)
------------------------------
def OnInit(self):
import wx
wx.InitAllImageHandlers()
def OnInit(self):
import wx
wx.InitAllImageHandlers()
- locals = __main__.__dict__
from crust import CrustFrame
from crust import CrustFrame
- self.frame = CrustFrame(locals=locals)
+ self.frame = CrustFrame()
self.frame.SetSize((800, 600))
self.frame.Show()
self.SetTopWindow(self.frame)
self.frame.SetSize((800, 600))
self.frame.Show()
self.SetTopWindow(self.frame)
def OnInit(self):
import wx
wx.InitAllImageHandlers()
def OnInit(self):
import wx
wx.InitAllImageHandlers()
- locals = __main__.__dict__
from shell import ShellFrame
from shell import ShellFrame
- self.frame = ShellFrame(locals=locals)
+ self.frame = ShellFrame()
self.frame.SetSize((750, 525))
self.frame.Show()
self.SetTopWindow(self.frame)
self.frame.SetSize((750, 525))
self.frame.Show()
self.SetTopWindow(self.frame)
editwindow.EditWindow.__init__(self, parent, id, pos, size, style)
self.wrap()
if locals is None:
editwindow.EditWindow.__init__(self, parent, id, pos, size, style)
self.wrap()
if locals is None:
+ import __main__
+ locals = __main__.__dict__
# Grab these so they can be restored by self.redirect* methods.
self.stdin = sys.stdin
self.stdout = sys.stdout
# Grab these so they can be restored by self.redirect* methods.
self.stdin = sys.stdin
self.stdout = sys.stdout