box = wxBoxSizer(wxVERTICAL)
box.Add(ed, 1, wxALL|wxGROW, 1)
win.SetSizer(box)
- win.SetAutoLayout(true)
+ win.SetAutoLayout(True)
ed.SetText(["",
"This is a simple text editor, the class name is",
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])
+