mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 04:51:48 +00:00
Fixed: Compilation under macOS 10.12
This commit is contained in:
parent
88cb2e4791
commit
99cfd4d693
1 changed files with 1 additions and 1 deletions
|
@ -1486,7 +1486,7 @@ bool CDriverGL::createWindow(const GfxMode &mode)
|
|||
[[CocoaApplicationDelegate alloc] initWithDriver:this];
|
||||
|
||||
// set the application delegate, this will handle window/app close events
|
||||
[NSApp setDelegate:(id<NSFileManagerDelegate>)appDelegate];
|
||||
[NSApp setDelegate:(id<NSApplicationDelegate>)appDelegate];
|
||||
|
||||
// bind the close button of the window to applicationShouldTerminate
|
||||
id closeButton = [cocoa_window standardWindowButton:NSWindowCloseButton];
|
||||
|
|
Loading…
Reference in a new issue