Skip to content

Commit

Permalink
Fixed BC break in cefpython.wx.chromectrl introduced in 31.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
cztomczak committed Jan 10, 2015
1 parent 7e167ac commit 6b62932
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cefpython/cef3/wx-subpackage/chromectrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ def __init__(self, parent, url="", useTimer=True,
size=(-1, -1), *args, **kwargs):
wx.Window.__init__(self, parent, id=wx.ID_ANY, size=size,
*args, **kwargs)

# This timer is not used anymore, but creating it for backwards
# compatibility. In one of external projects ChromeWindow.timer.Stop()
# is being called during browser destruction.
self.timer = wx.Timer()

# On Linux absolute file urls need to start with "file://"
# otherwise a path of "/home/some" is converted to "http://home/some".
if platform.system() == "Linux":
Expand Down

0 comments on commit 6b62932

Please sign in to comment.