Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)runModalSession:(CPModalSession)aModalSession
- {
- aModalSession._previous = _currentSession;
- _currentSession = aModalSession;
- var theWindow = aModalSession._window;
- [theWindow center];
- [theWindow makeKeyWindow];
- [theWindow orderFront:self];
- // [theWindow._bridge _obscureWindowsBelowModalWindow];
- [CPApp setCallback:_CPRunModalLoop forNextEventMatchingMask:CPAnyEventMask untilDate:nil inMode:0 dequeue:NO];
- }
Add Comment
Please, Sign In to add comment