Aug-13-2019, 11:47 AM
Respond to the EVT_CLOSE event and SetReturnCode(wx.ID_CANCEL) in that event handler. Also, return codes are usually associated with a modal dialog so for best behavior call the dialog with ShowModal()
[WxPython] Return code when closing the dialog
|
|
Messages In This Thread |
Return code when closing the dialog - by ioprst - Aug-13-2019, 06:50 AM
RE: Return code when closing the dialog - by jefsummers - Aug-13-2019, 11:47 AM
|