- wxWebNavigationEvent thisEvent(wxEVT_COMMAND_WEB_VIEW_ERROR,
- webKitWindow->GetId(),
- wxStringWithNSString( url ),
- wxEmptyString, false);
- thisEvent.SetString(description);
- thisEvent.SetInt(type);
+ wxWebViewEvent event(wxEVT_COMMAND_WEB_VIEW_ERROR,
+ webKitWindow->GetId(),
+ wxStringWithNSString( url ),
+ wxEmptyString);
+ event.SetString(description);
+ event.SetInt(type);