]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMultipleChoiceDialog.py
added comments to the makefile; added WX_CONFIG var to be able to use a different...
[wxWidgets.git] / wxPython / demo / wxMultipleChoiceDialog.py
index 07fe583a3e476d8cfb30125ccef4704c91b32f21..c7f93764e153e1c1ad619834d8be035dd00cf3ac 100644 (file)
@@ -10,7 +10,6 @@ def runTest(frame, nb, log):
     dlg = wxMultipleChoiceDialog(frame,
                                  "Pick some from\n this list\nblah blah...",
                                  "m.s.d.", lst)
-    dlg.CenterOnScreen(wxBOTH)
     if (dlg.ShowModal() == wxID_OK):
         print "Selection:", dlg.GetValue(), " -> ", dlg.GetValueString()
 
@@ -26,3 +25,12 @@ def runTest(frame, nb, log):
 
 overview = """\
 """
+
+
+
+
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])