migrate to virtual void and start mac impl
This commit is contained in:
parent
97589bbe33
commit
ae632193c0
4 changed files with 11 additions and 3 deletions
|
@ -1135,6 +1135,14 @@ bool NativeWindowMac::IsEnabled() {
|
|||
return [window_ attachedSheet] == nil;
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetEnabled(bool enable) {
|
||||
if (enable == false){
|
||||
[window_ attachedSheet] = nil;
|
||||
} else {
|
||||
[window_ beginSheet:window_];
|
||||
}
|
||||
}
|
||||
|
||||
void NativeWindowMac::Maximize() {
|
||||
if (IsMaximized())
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue