From: Steve Lamerton Date: Sat, 13 Aug 2011 10:07:03 +0000 (+0000) Subject: Call Dismiss rather than Show(false) on the infobar to correct the layout. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/70544c1e6c2c52722a8215ed12724a75a284be08 Call Dismiss rather than Show(false) on the infobar to correct the layout. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/web/web.cpp b/samples/web/web.cpp index 03240f72dc..6f9955dbe1 100644 --- a/samples/web/web.cpp +++ b/samples/web/web.cpp @@ -470,7 +470,7 @@ void WebFrame::OnNavigationRequest(wxWebNavigationEvent& evt) { if(m_info->IsShown()) { - m_info->Show(false); + m_info->Dismiss(); } wxLogMessage("%s", "Navigation request to '" + evt.GetURL() + "' (target='" +