(question='Are you sure you want to do this?', caption='Yes or no?')
| 2 | |
| 3 | |
| 4 | def YesNoDialog(question='Are you sure you want to do this?', caption='Yes or no?'): |
| 5 | with wx.MessageDialog(None, question, caption, wx.YES_NO | wx.ICON_QUESTION) as dlg: |
| 6 | result = dlg.ShowModal() == wx.ID_YES |
| 7 | return result |
| 8 | |
| 9 | |
| 10 | def HandleCtrlBackspace(textControl): |
nothing calls this directly
no outgoing calls
no test coverage detected