]> git.saurik.com Git - wxWidgets.git/commitdiff
Call Dismiss rather than Show(false) on the infobar to correct the layout.
authorSteve Lamerton <steve.lamerton@gmail.com>
Sat, 13 Aug 2011 10:07:03 +0000 (10:07 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Sat, 13 Aug 2011 10:07:03 +0000 (10:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/web/web.cpp

index 03240f72dc4cdbe26d2f07f3f132c5c27ab29e77..6f9955dbe1353bf6acefd079c214844464212911 100644 (file)
@@ -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='" +