]> git.saurik.com Git - wxWidgets.git/commitdiff
Work around the fact that wxWebViewIE doesn't send page changing and page changed...
authorSteve Lamerton <steve.lamerton@gmail.com>
Fri, 7 Oct 2011 21:25:59 +0000 (21:25 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Fri, 7 Oct 2011 21:25:59 +0000 (21:25 +0000)
Closes #13518

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/webview/webview.cpp

index df2bbf39727b8dc5ad2da28da6ccfb2feae0c09e..04e1db4e9a23987e6165345fb150cd4aa446d4cb 100644 (file)
@@ -597,8 +597,8 @@ void WebFrame::OnNewWindow(wxWebViewEvent& evt)
 
 void WebFrame::OnTitleChanged(wxWebViewEvent& evt)
 {
+    SetTitle(evt.GetString());
     wxLogMessage("%s", "Title changed; title='" + evt.GetString() + "'");
-    UpdateState();
 }
 
 /**