Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/functions.MessageBox.1.py
2011-12-30 19:17:09 +00:00

6 lines
195 B
Python

answer = wx.MessageBox("Quit program?", "Confirm",
wx.YES_NO | wx.CANCEL, main_frame)
if answer == wx.YES:
main_frame.Close()