Fixed: #1060 Implement getWndProc() on Mac OS X

This commit is contained in:
rti 2010-11-05 14:22:32 +01:00
parent 1f85627214
commit be50f0afdb

View file

@ -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)