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(); }