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

hg/feature/sound
rti 14 years ago
parent cbc90b584a
commit 869ae6e962

@ -180,14 +180,7 @@ bool GlWndProc(CDriverGL *driver, const void* e)
NSEvent* event = [NSEvent eventWithEventRef:e];
// NSLog(@"NSEvent in GlWndProc %@", event);
switch([event type])
{
/* TODO handle window activate, close, etc. */
default:
return driver->_EventEmitter.processMessage(event);
}
return false;
return driver->_EventEmitter.processMessage(event);
}
#elif defined (NL_OS_UNIX)

Loading…
Cancel
Save