Invoked by NSWindow’s zoom: method while determining the frame a window may be zoomed to.
Original signature is '- (NSRect)windowWillUseStandardFrame:(NSWindow *)window defaultFrame:(NSRect)newFrame'
Available in Mac OS X v10.0 and later.


- window (NSWindow)
- The window whose frame size is being determined.
- newFrame (NSRect)
- The size of the current screen, which is the screen containing the largest part of the window’s current frame, possibly reduced on the top, bottom, left, or right, depending on the current interface style. The frame is reduced on the top to leave room for the menu bar.

The specified window’s standard frame.

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