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
This commit is contained in:
Steve Lamerton
2011-08-13 10:07:03 +00:00
parent 013cda40d8
commit 70544c1e6c

View File

@@ -470,7 +470,7 @@ void WebFrame::OnNavigationRequest(wxWebNavigationEvent& evt)
{ {
if(m_info->IsShown()) if(m_info->IsShown())
{ {
m_info->Show(false); m_info->Dismiss();
} }
wxLogMessage("%s", "Navigation request to '" + evt.GetURL() + "' (target='" + wxLogMessage("%s", "Navigation request to '" + evt.GetURL() + "' (target='" +