mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-23 07:16:15 +00:00
Fixed: #1060 Implement getWndProc() on Mac OS X
This commit is contained in:
parent
09af3a19a2
commit
0afa8d5887
1 changed files with 1 additions and 8 deletions
|
@ -180,14 +180,7 @@ bool GlWndProc(CDriverGL *driver, const void* e)
|
||||||
NSEvent* event = [NSEvent eventWithEventRef:e];
|
NSEvent* event = [NSEvent eventWithEventRef:e];
|
||||||
// NSLog(@"NSEvent in GlWndProc %@", event);
|
// NSLog(@"NSEvent in GlWndProc %@", event);
|
||||||
|
|
||||||
switch([event type])
|
return driver->_EventEmitter.processMessage(event);
|
||||||
{
|
|
||||||
/* TODO handle window activate, close, etc. */
|
|
||||||
default:
|
|
||||||
return driver->_EventEmitter.processMessage(event);
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined (NL_OS_UNIX)
|
#elif defined (NL_OS_UNIX)
|
||||||
|
|
Loading…
Reference in a new issue