mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
7 lines
337 B
Python
7 lines
337 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?")
|