Show More
@@ -59,8 +59,6 b' class MyFrame(wx.Frame):' | |||
|
59 | 59 | # tell the manager to "commit" all the changes just made |
|
60 | 60 | self._mgr.Update() |
|
61 | 61 | |
|
62 | #self.ipython_panel.run() | |
|
63 | ||
|
64 | 62 | #global event handling |
|
65 | 63 | self.Bind(wx.EVT_CLOSE, self.OnClose) |
|
66 | 64 | self.Bind(wx.EVT_MENU, self.OnClose,id=wx.ID_EXIT) |
@@ -68,6 +66,18 b' class MyFrame(wx.Frame):' | |||
|
68 | 66 | self.Bind(wx.EVT_MENU, self.OnShowHistoryPanel,id=wx.ID_HIGHEST+2) |
|
69 | 67 | self.Bind(wx.EVT_MENU, self.OnShowAbout, id=wx.ID_HIGHEST+3) |
|
70 | 68 | self.Bind(wx.EVT_MENU, self.OnShowAllPanel,id=wx.ID_HIGHEST+6) |
|
69 | ||
|
70 | warn_text = 'Hello from IPython and wxPython.\n' | |
|
71 | warn_text +='Please Note that this work is still EXPERIMENTAL\n' | |
|
72 | warn_text +='It does NOT emulate currently all the IPython functions.\n' | |
|
73 | ||
|
74 | dlg = wx.MessageDialog(self, | |
|
75 | warn_text, | |
|
76 | 'Warning Box', | |
|
77 | wx.OK | wx.ICON_INFORMATION | |
|
78 | ) | |
|
79 | dlg.ShowModal() | |
|
80 | dlg.Destroy() | |
|
71 | 81 | |
|
72 | 82 | def createMenu(self): |
|
73 | 83 | """local method used to create one menu bar""" |
General Comments 0
You need to be logged in to leave comments.
Login now