]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMultipleChoiceDialog.py
dismiss the popup when an unprocessed key is pressed
[wxWidgets.git] / wxPython / demo / wxMultipleChoiceDialog.py
index 07fe583a3e476d8cfb30125ccef4704c91b32f21..6e3fb5de55e8d0b98f2b9482e56dfc2ec8852f43 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()