We've figured it out. It's due to this code fragment in GraphicsWindowCarbon.cpp, OSXCarbonWindowSystemInterface::OSXCarbonWindowSystemInterface() 356-9:
// register application event handler and AppleEventHandler to get quit-events: static const EventTypeSpec menueventSpec = {kEventClassCommand, kEventCommandProcess}; OSErr status = InstallEventHandler(GetApplicationEventTarget(), NewEventHandlerUPP(ApplicationEventHandler), 1, &menueventSpec, 0, NULL); status = AEInstallEventHandler( kCoreEventClass, kAEQuitApplication, NewAEEventHandlerUPP(QuitAppleEventHandler), 0, false); It basically just dumps any Quit handlers that have been installed before. Isn't this a rather dangerous thing to do? The code should check for any pre-existing handlers and chain them if there are any. Thanks Paul ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16967#16967 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org