mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
6 lines
190 B
Python
6 lines
190 B
Python
|
|
answer = wx.MessageBox("Quit program?", "Confirm",
|
|
wx.YES_NO | wx.CANCEL, main_frame)
|
|
if answer == wx.YES:
|
|
main_frame.Close()
|