From: Steve Lamerton Date: Fri, 7 Oct 2011 21:25:59 +0000 (+0000) Subject: Work around the fact that wxWebViewIE doesn't send page changing and page changed... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7cd038613b5bf5d02229d7ba94648af8f39a1fa0?ds=inline Work around the fact that wxWebViewIE doesn't send page changing and page changed events during a refresh, yet IsBusy returns true. Closes #13518 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/webview/webview.cpp b/samples/webview/webview.cpp index df2bbf3972..04e1db4e9a 100644 --- a/samples/webview/webview.cpp +++ b/samples/webview/webview.cpp @@ -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(); } /**