Works for me: http://themha.com/bfegewfvd.zip
So the obvious things to check: 1. Is myNSWindow nil, or the wrong window? 2. Is myNSWindow an NSWindow, or a subclass that might mess with this behavior? 3. Is setDocumentEdited: being called from more than one place? Break on setDocumentEdited: and check who calls it. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com