Hide the infobar in the sample if we start navigating to another page.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -468,6 +468,11 @@ void WebFrame::OnMode(wxCommandEvent& WXUNUSED(evt))
|
||||
*/
|
||||
void WebFrame::OnNavigationRequest(wxWebNavigationEvent& evt)
|
||||
{
|
||||
if(m_info->IsShown())
|
||||
{
|
||||
m_info->Show(false);
|
||||
}
|
||||
|
||||
wxLogMessage("%s", "Navigation request to '" + evt.GetURL() + "' (target='" +
|
||||
evt.GetTarget() + "')");
|
||||
|
||||
|
Reference in New Issue
Block a user