Replace usage of wxCFStringRef with wxStringWithNSString.

Usage of wxCFStringRef broke carbon build.
This commit is contained in:
Tobias Taschner
2015-09-11 15:03:12 +02:00
committed by Vadim Zeitlin
parent db56c7bcb8
commit 401aa2a511

View File

@@ -1223,7 +1223,7 @@ wxString nsErrorToWxHtmlError(NSError* error, wxWebViewNavigationError* out)
wxWebViewEvent event(wxEVT_WEBVIEW_NEWWINDOW,
webKitWindow->GetId(),
wxCFStringRef::AsString( url ), "");
wxStringWithNSString( url ), "");
if (webKitWindow && webKitWindow->GetEventHandler())
webKitWindow->GetEventHandler()->ProcessEvent(event);