On Aug 7, 2009, at 5:53 PM, David M. Cotter wrote:

this is code that has been carbon forever and now has absolutely minimal cocoa enough to get it running. if there is an NSDocument i don't know about it.

Are you sure that myNSWindow isn't nil?  I've a single window
application where I set the dot using something like:

    [[NSApp mainWindow] setDocumentEdited: mod];

It works just fine.

/\/\arc

_______________________________________________

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

Reply via email to