diff --git a/samples/web/web.cpp b/samples/web/web.cpp index a97b2b2a5a..2ec69bd83c 100644 --- a/samples/web/web.cpp +++ b/samples/web/web.cpp @@ -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() + "')");