mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-26 21:50:08 +01:00
14 lines
317 B
Python
14 lines
317 B
Python
|
|
def AskUser(self):
|
|
|
|
dlg = MyAskDialog(self)
|
|
|
|
if dlg.ShowModal() == wx.ID_OK:
|
|
# do something here
|
|
print 'Hello'
|
|
|
|
# else: dialog was cancelled or some another button pressed
|
|
|
|
dlg.Destroy()
|
|
|