Remove assert in webview sample
Not all backends return IsBusy() during this callback
This commit is contained in:
@@ -819,8 +819,6 @@ void WebFrame::OnNavigationRequest(wxWebViewEvent& evt)
|
|||||||
wxLogMessage("%s", "Navigation request to '" + evt.GetURL() + "' (target='" +
|
wxLogMessage("%s", "Navigation request to '" + evt.GetURL() + "' (target='" +
|
||||||
evt.GetTarget() + "')");
|
evt.GetTarget() + "')");
|
||||||
|
|
||||||
wxASSERT(m_browser->IsBusy());
|
|
||||||
|
|
||||||
//If we don't want to handle navigation then veto the event and navigation
|
//If we don't want to handle navigation then veto the event and navigation
|
||||||
//will not take place, we also need to stop the loading animation
|
//will not take place, we also need to stop the loading animation
|
||||||
if(!m_tools_handle_navigation->IsChecked())
|
if(!m_tools_handle_navigation->IsChecked())
|
||||||
|
Reference in New Issue
Block a user