summaryrefslogtreecommitdiffstats
path: root/WebKit/wx/bindings/python/samples/simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/wx/bindings/python/samples/simple.py')
-rw-r--r--WebKit/wx/bindings/python/samples/simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/wx/bindings/python/samples/simple.py b/WebKit/wx/bindings/python/samples/simple.py
index 2ebdf9c..52d4e1b 100644
--- a/WebKit/wx/bindings/python/samples/simple.py
+++ b/WebKit/wx/bindings/python/samples/simple.py
@@ -85,7 +85,7 @@ class TestPanel(wx.Panel):
self.webview.LoadURL(self.current)
self.location.Append(self.current)
- self.webview.Bind(wx.webview.EVT_WEBVIEW_STATE_CHANGED, self.OnStateChanged)
+ self.webview.Bind(wx.webview.EVT_WEBVIEW_LOAD, self.OnStateChanged)
self.SetSizer(sizer)