, , , , ( setShowsResizeIndicator), ...
- (NSSize)windowWillResize:(NSWindow *)sender toSize:(NSSize)frameSize
... the NSWindowDelegate delegate method so that it simply returns the existing window size.
It is odd that there is no setCanResize: method there, but there you go.
source
share