diff --git a/wxPython/src/gtk/_misc.py b/wxPython/src/gtk/_misc.py index c99efbcb53..ec2128941b 100644 --- a/wxPython/src/gtk/_misc.py +++ b/wxPython/src/gtk/_misc.py @@ -1114,7 +1114,7 @@ class Timer(_core.EvtHandler): """GetId(self) -> int""" return _misc_.Timer_GetId(*args, **kwargs) - def Destroy(): + def Destroy(self): """NO-OP: Timers must be destroyed by normal refrence counting""" pass diff --git a/wxPython/src/msw/_misc.py b/wxPython/src/msw/_misc.py index 7a13e1e378..8e67e39ace 100644 --- a/wxPython/src/msw/_misc.py +++ b/wxPython/src/msw/_misc.py @@ -1114,7 +1114,7 @@ class Timer(_core.EvtHandler): """GetId(self) -> int""" return _misc_.Timer_GetId(*args, **kwargs) - def Destroy(): + def Destroy(self): """NO-OP: Timers must be destroyed by normal refrence counting""" pass