Browse Source
Merge pull request #8267 from AvaloniaUI/fixes/osx-cef-electron-compatibility
osx: restore missing api for cef - electron compatibility
pull/8272/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
0 deletions
-
native/Avalonia.Native/src/OSX/app.mm
|
|
@ -82,6 +82,17 @@ ComPtr<IAvnApplicationEvents> _events; |
|
|
_isHandlingSendEvent = oldHandling; |
|
|
_isHandlingSendEvent = oldHandling; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// This is needed for certain embedded controls DO NOT REMOVE.. |
|
|
|
|
|
- (BOOL) isHandlingSendEvent |
|
|
|
|
|
{ |
|
|
|
|
|
return _isHandlingSendEvent; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
- (void)setHandlingSendEvent:(BOOL)handlingSendEvent |
|
|
|
|
|
{ |
|
|
|
|
|
_isHandlingSendEvent = handlingSendEvent; |
|
|
|
|
|
} |
|
|
@end |
|
|
@end |
|
|
|
|
|
|
|
|
extern void InitializeAvnApp(IAvnApplicationEvents* events) |
|
|
extern void InitializeAvnApp(IAvnApplicationEvents* events) |
|
|
|