Replace usage of wxCFStringRef with wxStringWithNSString.
Usage of wxCFStringRef broke carbon build.
This commit is contained in:
committed by
Vadim Zeitlin
parent
db56c7bcb8
commit
401aa2a511
@@ -1223,7 +1223,7 @@ wxString nsErrorToWxHtmlError(NSError* error, wxWebViewNavigationError* out)
|
|||||||
|
|
||||||
wxWebViewEvent event(wxEVT_WEBVIEW_NEWWINDOW,
|
wxWebViewEvent event(wxEVT_WEBVIEW_NEWWINDOW,
|
||||||
webKitWindow->GetId(),
|
webKitWindow->GetId(),
|
||||||
wxCFStringRef::AsString( url ), "");
|
wxStringWithNSString( url ), "");
|
||||||
|
|
||||||
if (webKitWindow && webKitWindow->GetEventHandler())
|
if (webKitWindow && webKitWindow->GetEventHandler())
|
||||||
webKitWindow->GetEventHandler()->ProcessEvent(event);
|
webKitWindow->GetEventHandler()->ProcessEvent(event);
|
||||||
|
Reference in New Issue
Block a user