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
This commit is contained in:
Steve Lamerton
2011-07-25 15:19:26 +00:00
parent aa35b9ca82
commit d37e7d35ad

View File

@@ -498,10 +498,6 @@ void WebFrame::OnNewWindow(wxWebNavigationEvent& evt)
if(m_tools_handle_new_window->IsChecked()) if(m_tools_handle_new_window->IsChecked())
m_browser->LoadUrl(evt.GetURL()); 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(); UpdateState();
} }