projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refresh widget after changing its colour
[wxWidgets.git]
/
wxPython
/
wx
/
py
/
PyCrust.py
diff --git
a/wxPython/wx/py/PyCrust.py
b/wxPython/wx/py/PyCrust.py
index 4bd56370507b147ba538c59acfded7466829db99..b9a222763e59623667f5cef2b1755c7c8758e7d9 100644
(file)
--- a/
wxPython/wx/py/PyCrust.py
+++ b/
wxPython/wx/py/PyCrust.py
@@
-13,16
+13,14
@@
__revision__ = "$Revision$"[11:-2]
import wx
import wx
-
class App(wx.App):
"""PyCrust standalone application."""
def OnInit(self):
import wx
class App(wx.App):
"""PyCrust standalone application."""
def OnInit(self):
import wx
+ from wx import py
wx.InitAllImageHandlers()
wx.InitAllImageHandlers()
- locals = __main__.__dict__
- from crust import CrustFrame
- self.frame = CrustFrame(locals=locals)
+ self.frame = py.crust.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)