Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/10se1ucgo/DisableWinTracking.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkirinrastogi <rastogikirin@gmail.com>2017-04-05 04:06:46 +0300
committerkirinrastogi <rastogikirin@gmail.com>2017-04-05 06:28:51 +0300
commitb1af3e36e0f5ad61cc60dc5164e7a47f4b171f9f (patch)
tree060bce537e2eb5342d6320ceccae45b8f5886ba0
parentab6a195c6d8b58247c6c1b5d833843d66e6b0882 (diff)
get the event object properly
-rw-r--r--dwt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwt.py b/dwt.py
index aa4ee14..7dc7045 100644
--- a/dwt.py
+++ b/dwt.py
@@ -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()