diff options
author | kirinrastogi <rastogikirin@gmail.com> | 2017-04-05 04:06:46 +0300 |
---|---|---|
committer | kirinrastogi <rastogikirin@gmail.com> | 2017-04-05 06:28:51 +0300 |
commit | b1af3e36e0f5ad61cc60dc5164e7a47f4b171f9f (patch) | |
tree | 060bce537e2eb5342d6320ceccae45b8f5886ba0 | |
parent | ab6a195c6d8b58247c6c1b5d833843d66e6b0882 (diff) |
get the event object properly
-rw-r--r-- | dwt.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -265,7 +265,7 @@ class MainPanel(wx.Panel): caption="Attention!", style=wx.YES_NO | wx.ICON_EXCLAMATION) if warn.ShowModal() == wx.ID_NO: - event.GetObject().SetValue(False) + event.GetEventObject().SetValue(False) warn.Destroy() |