- dlg = wxSingleChoiceDialog(frame, 'Test Single Choice', 'The Caption',
- ['zero', 'one', 'two', 'three', 'four', 'five',
- 'six', 'seven', 'eight'], wxCHOICEDLG_STYLE)
- if dlg.ShowModal() == wxID_OK:
+ dlg = wx.SingleChoiceDialog(
+ frame, 'Test Single Choice', 'The Caption',
+ ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight'],
+ wx.CHOICEDLG_STYLE
+ )
+
+ if dlg.ShowModal() == wx.ID_OK: