Sets up a modal session with the given window and returns an NSModalSession structure representing the session.
Original signature is '- (NSModalSession)beginModalSessionForWindow:(NSWindow *)aWindow'
Available in Mac OS X v10.0 and later.


- aWindow (NSWindow)
- The window for the session.

The NSModalSession structure that represents the session.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)