X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0db4f38504f7bc01f7bc2474243a4f6f84152a7..72858fcf67bf670ea18fe48a6b039d61afa87131:/wxPython/demo/wxMultipleChoiceDialog.py?ds=sidebyside diff --git a/wxPython/demo/wxMultipleChoiceDialog.py b/wxPython/demo/wxMultipleChoiceDialog.py index 07fe583a3e..c7f93764e1 100644 --- a/wxPython/demo/wxMultipleChoiceDialog.py +++ b/wxPython/demo/wxMultipleChoiceDialog.py @@ -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])])