]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMDIWindows.py
SWIG patch for "autodoc" and "docstring" %features
[wxWidgets.git] / wxPython / demo / wxMDIWindows.py
index 7eef8a39c983b5e7bd5cfd6cb5af4d952e4550dc..c8f647929b38a6704b6109e7c16c7289272629d5 100644 (file)
@@ -15,7 +15,7 @@ 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)
@@ -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])])