adding getURL hook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c902d81d44
commit
36656b6ce2
@ -119,7 +119,10 @@ void wxBell()
|
||||
wxUnusedVar(replyEvent);
|
||||
NSString* url = [[event descriptorAtIndex:1] stringValue];
|
||||
wxCFStringRef cf(wxCFRetain(url));
|
||||
wxTheApp->MacOpenURL(cf.AsString()) ;
|
||||
if ( wxTheApp->OSXInitWasCalled() )
|
||||
wxTheApp->MacOpenURL(cf.AsString()) ;
|
||||
else
|
||||
wxTheApp->OSXStoreOpenURL(cf.AsString());
|
||||
}
|
||||
|
||||
- (void)handleOpenAppEvent:(NSAppleEventDescriptor *)event
|
||||
|
Loading…
Reference in New Issue
Block a user