support an api with SetIgnoreMouseEvents, and worked fine with osx
This commit is contained in:
parent
e1d7ef7e24
commit
5f092a6c65
6 changed files with 15 additions and 0 deletions
|
@ -687,6 +687,10 @@ bool NativeWindowMac::IsDocumentEdited() {
|
|||
return [window_ isDocumentEdited];
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetIgnoreMouseEvents(bool ignore) {
|
||||
[window_ setIgnoresMouseEvents:ignore];
|
||||
}
|
||||
|
||||
bool NativeWindowMac::HasModalDialog() {
|
||||
return [window_ attachedSheet] != nil;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue