X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/644f2d83909e31b14fd4a776576ebd8d79f740b8..6ea48c514e0b911113020c76fdb83b64f5941ddb:/wxPython/demo/GridSimple.py

diff --git a/wxPython/demo/GridSimple.py b/wxPython/demo/GridSimple.py
index e289ee0f55..9c9b4ce425 100644
--- a/wxPython/demo/GridSimple.py
+++ b/wxPython/demo/GridSimple.py
@@ -230,7 +230,7 @@ class SimpleGrid(gridlib.Grid): ##, mixins.GridAutoEditMixin):
 class TestFrame(wx.Frame):
     def __init__(self, parent, log):
         wx.Frame.__init__(self, parent, -1, "Simple Grid Demo", size=(640,480))
-        grid = SimpleGrid(self, log)
+        self.grid = SimpleGrid(self, log)
 
 
 
@@ -241,6 +241,9 @@ if __name__ == '__main__':
     app = wx.PySimpleApp()
     frame = TestFrame(None, sys.stdout)
     frame.Show(True)
+    #import wx.py
+    #shell = wx.py.shell.ShellFrame(frame, locals={'wx':wx, 'frame':frame})
+    #shell.Show()
     app.MainLoop()