Re: Undo only works in main window of application
Re: Undo only works in main window of application
- Subject: Re: Undo only works in main window of application
- From: Ryan Britton <email@hidden>
- Date: Sun, 25 Jun 2006 15:29:58 -0700
On Jun 25, 2006, at 2:49 PM, Wayne Pascoe wrote:
Does this mean that I need to use windows instead of panels ? And
also, does this mean that I have to subclass NSWindow for each
Window to implement this ?
Nope. The method is in the NSWindow delegate informal protocol.
Just hook up the window's delegate outlet to the controller that's
going to feed it the undo manager and it should work. Since NSPanel
is a subclass of NSWindow, you'll be able to use the same method.Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden