1 parent 7e167ac commit 6b62932Copy full SHA for 6b62932
1 file changed
cefpython/cef3/wx-subpackage/chromectrl.py
@@ -132,6 +132,12 @@ def __init__(self, parent, url="", useTimer=True,
132
size=(-1, -1), *args, **kwargs):
133
wx.Window.__init__(self, parent, id=wx.ID_ANY, size=size,
134
*args, **kwargs)
135
+
136
+ # This timer is not used anymore, but creating it for backwards
137
+ # compatibility. In one of external projects ChromeWindow.timer.Stop()
138
+ # is being called during browser destruction.
139
+ self.timer = wx.Timer()
140
141
# On Linux absolute file urls need to start with "file://"
142
# otherwise a path of "/home/some" is converted to "http://home/some".
143
if platform.system() == "Linux":
0 commit comments