]> git.saurik.com Git - wxWidgets.git/commitdiff
We no longer need to veto the new window event in the sample as the behaviour has...
authorSteve Lamerton <steve.lamerton@gmail.com>
Mon, 25 Jul 2011 15:19:26 +0000 (15:19 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Mon, 25 Jul 2011 15:19:26 +0000 (15:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/web/web.cpp

index a6b41d627a9e0e39babc06cbbc109c1d2acafa25..b65cc810995af10b4ebe030ba71dc9717542e036 100644 (file)
@@ -498,10 +498,6 @@ void WebFrame::OnNewWindow(wxWebNavigationEvent& evt)
     if(m_tools_handle_new_window->IsChecked())
         m_browser->LoadUrl(evt.GetURL());
 
-    //We always veto because we handle the event, otherwise under windows a new
-    //internet explorer windowis created
-    evt.Veto();
-
     UpdateState();
 }