setContentAspectRatio on window

  • Folks,

    I'm using setContentAspectRatio to constrain the dimensions of a
    window to either 4:3 or 16:9.

    However, I'd also like the ability to subsequently remove the
    constraint altogether. If I'm reading the API right then I should be
    able to do a setContentAspectRatio with a NSSize specifying 0, 0.
    However, if I do this, any further attempt to resize the window causes
    it to vanish outright.

    Am I going mad, or have I found a bug?

    Richard