mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-21 03:07:08 +01:00
7 lines
331 B
Python
7 lines
331 B
Python
|
|
dlg = wx.MessageDialog(parent, message, caption)
|
|
if dlg.SetYesNoLabels("&Quit", "&Don't quit"):
|
|
dlg.SetMessage("What do you want to do?")
|
|
else: # buttons have standard "Yes"/"No" values, so rephrase the question
|
|
dlg.SetMessage("Do you really want to quit?")
|