minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b2bc50e4ca
commit
26197023a7
@ -276,6 +276,7 @@ class wxPythonDemo(wxFrame):
|
|||||||
def OnCloseWindow(self, event):
|
def OnCloseWindow(self, event):
|
||||||
self.dying = true
|
self.dying = true
|
||||||
self.window = None
|
self.window = None
|
||||||
|
self.mainmenu = None
|
||||||
self.Destroy()
|
self.Destroy()
|
||||||
|
|
||||||
#---------------------------------------------
|
#---------------------------------------------
|
||||||
|
@ -6,6 +6,7 @@ from wxPython.wx import *
|
|||||||
def runTest(frame, nb, log):
|
def runTest(frame, nb, log):
|
||||||
dlg = wxMessageDialog(frame, 'Hello from Python and wxPython!',
|
dlg = wxMessageDialog(frame, 'Hello from Python and wxPython!',
|
||||||
'A Message Box', wxOK | wxICON_INFORMATION)
|
'A Message Box', wxOK | wxICON_INFORMATION)
|
||||||
|
#wxYES_NO | wxNO_DEFAULT | wxCANCEL | wxICON_INFORMATION)
|
||||||
dlg.ShowModal()
|
dlg.ShowModal()
|
||||||
dlg.Destroy()
|
dlg.Destroy()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user