reSWIGged
[wxWidgets.git] / wxPython / demo / wxMDIWindows.py
index 91d7a55eb0de3ca52f331ed8ed1b75eea89ba68e..c8f647929b38a6704b6109e7c16c7289272629d5 100644 (file)
@@ -15,10 +15,10 @@ class TestPanel(wxPanel):
         EVT_BUTTON(self, b2.GetId(), self.ShowMDISashDemo)
 
         box = wxBoxSizer(wxVERTICAL)
-        box.Add(20, 30)
+        box.Add((20, 30))
         box.Add(b1, 0, wxALIGN_CENTER|wxALL, 15)
         box.Add(b2, 0, wxALIGN_CENTER|wxALL, 15)
-        self.SetAutoLayout(true)
+        self.SetAutoLayout(True)
         self.SetSizer(box)
 
 
@@ -52,3 +52,12 @@ it.  Here are a couple samples of how to use it.
 
 </body></html>
 """
+
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])