Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
- Subject: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
- From: "David M. Cotter" <email@hidden>
- Date: Tue, 15 Sep 2009 16:23:53 -0700
anyone have a hint here? this is totally baffling me.
On Sep 11, 2009, at 3:44 PM, David M. Cotter wrote:
the myNSWindow is NOT nil
when i try to set a breakpoint on setDocumentEdited, the "enabled"
check box shows "mixed" state, and the breakpoint is never hit. if
i try to set it to "on" it goes back to mixed state
so i can't set a breakpoint :(
[NSApp mainWindow] always returns nil, so i must use myNSWindow
note: i can set this same window's title and the title updates just
fine.
it's a small "palette" style window, not the large title bar but the
small title bar.
still not working
still a bummer
On Aug 7, 2009, at 8:44 PM, Marco S Hyman wrote:
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 (email@hidden)
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:
This email sent to email@hidden