]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxSingleChoiceDialog.py
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / demo / wxSingleChoiceDialog.py
index aa649eb750b2c627079c52b4bc0753ebe4452a1f..c97ec63c6385cc6eeabff09190b5f12a3a0510cc 100644 (file)
@@ -6,7 +6,7 @@ from wxPython.wx import *
 def runTest(frame, nb, log):
     dlg = wxSingleChoiceDialog(frame, 'Test Single Choice', 'The Caption',
                                ['zero', 'one', 'two', 'three', 'four', 'five',
-                                'six', 'seven', 'eight'], wxOK|wxCANCEL)
+                                'six', 'seven', 'eight'], wxDEFAULT_DIALOG_STYLE|wxOK|wxCANCEL)
     if dlg.ShowModal() == wxID_OK:
         log.WriteText('You selected: %s\n' % dlg.GetStringSelection())
     dlg.Destroy()