mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- fixed compilation of Cocoa backend with 10.9 SDK
src/posix/cocoa/i_video.mm:68:31: error: property 'delegate' not found on object of type 'id' src/posix/cocoa/st_console.mm:464:37: error: property 'delegate' not found on object of type 'id'
This commit is contained in:
parent
d0a256b51c
commit
d44d91d6a4
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@
|
||||||
{
|
{
|
||||||
NSButton* closeButton = [self standardWindowButton:NSWindowCloseButton];
|
NSButton* closeButton = [self standardWindowButton:NSWindowCloseButton];
|
||||||
[closeButton setAction:@selector(sendExitEvent:)];
|
[closeButton setAction:@selector(sendExitEvent:)];
|
||||||
[closeButton setTarget:NSApp.delegate];
|
[closeButton setTarget:[NSApp delegate]];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -461,7 +461,7 @@ void FConsoleWindow::NetInit(const char* const message, const int playerCount)
|
||||||
[m_netAbortButton setBezelStyle:NSRoundedBezelStyle];
|
[m_netAbortButton setBezelStyle:NSRoundedBezelStyle];
|
||||||
[m_netAbortButton setTitle:@"Cancel"];
|
[m_netAbortButton setTitle:@"Cancel"];
|
||||||
[m_netAbortButton setKeyEquivalent:@"\r"];
|
[m_netAbortButton setKeyEquivalent:@"\r"];
|
||||||
[m_netAbortButton setTarget:NSApp.delegate];
|
[m_netAbortButton setTarget:[NSApp delegate]];
|
||||||
[m_netAbortButton setAction:@selector(sendExitEvent:)];
|
[m_netAbortButton setAction:@selector(sendExitEvent:)];
|
||||||
|
|
||||||
// Panel for controls above
|
// Panel for controls above
|
||||||
|
|
Loading…
Reference in a new issue