projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fix
[wxWidgets.git]
/
wxPython
/
demo
/
wxFrame.py
diff --git
a/wxPython/demo/wxFrame.py
b/wxPython/demo/wxFrame.py
index 8f4e1a17d7a8ef6653319cf8669468a912d985e2..6fbc2d013f796afe51b97a111308b38e88f0d823 100644
(file)
--- a/
wxPython/demo/wxFrame.py
+++ b/
wxPython/demo/wxFrame.py
@@
-16,7
+16,7
@@
class MyFrame(wxFrame):
def OnCloseMe(self, event):
def OnCloseMe(self, event):
- self.Close(
t
rue)
+ self.Close(
T
rue)
def OnCloseWindow(self, event):
self.Destroy()
def OnCloseWindow(self, event):
self.Destroy()
@@
-25,9
+25,9
@@
class MyFrame(wxFrame):
def runTest(frame, nb, log):
win = MyFrame(frame, -1, "This is a wxFrame", size=(350, 200),
def runTest(frame, nb, log):
win = MyFrame(frame, -1, "This is a wxFrame", size=(350, 200),
- style = wxDEFAULT_FRAME_STYLE | wxFRAME_TOOL_WINDOW )
+ style = wxDEFAULT_FRAME_STYLE
)#
| wxFRAME_TOOL_WINDOW )
frame.otherWin = win
frame.otherWin = win
- win.Show(
t
rue)
+ win.Show(
T
rue)
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
@@
-43,3
+43,12
@@
def runTest(frame, nb, log):
overview = """\
"""
overview = """\
"""
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+