From d37e7d35ad98c75e771ba2afcc1af7c96c20bdaa Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Mon, 25 Jul 2011 15:19:26 +0000 Subject: [PATCH] We no longer need to veto the new window event in the sample as the behaviour has been unified across the ports. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/web/web.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/samples/web/web.cpp b/samples/web/web.cpp index a6b41d627a..b65cc81099 100644 --- a/samples/web/web.cpp +++ b/samples/web/web.cpp @@ -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(); } -- 2.45.2