linux: Implement win.setParentWindow(parent)
This commit is contained in:
parent
4c3c4437da
commit
f4bec78ccb
10 changed files with 55 additions and 7 deletions
|
@ -634,10 +634,6 @@ void NativeWindowMac::Close() {
|
|||
}
|
||||
|
||||
void NativeWindowMac::CloseImmediately() {
|
||||
// Close all child windows before closing this window.
|
||||
for (NSWindow* child in [window_ childWindows])
|
||||
[child close];
|
||||
|
||||
[window_ close];
|
||||
}
|
||||
|
||||
|
@ -981,6 +977,9 @@ void NativeWindowMac::EndSheet(NativeWindow* sheet) {
|
|||
sheet->CloseImmediately();
|
||||
}
|
||||
|
||||
void NativeWindowMac::SetModal(bool modal) {
|
||||
}
|
||||
|
||||
gfx::NativeWindow NativeWindowMac::GetNativeWindow() {
|
||||
return window_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue