Removed deprecated setScalesWhenResized method.
Fixed DocumentWindow delegate property declaration not matching NSWindows which does not use "nonatmic".