Re: [NSUndoManager undoMenuItemTitle]
Re: [NSUndoManager undoMenuItemTitle]
- Subject: Re: [NSUndoManager undoMenuItemTitle]
- From: Martin Hairer <email@hidden>
- Date: Wed, 21 Sep 2005 11:00:49 +0100
I asked about this a few years ago.
The essential gist is that this is some cruft left over from the
OpenStep/Windows API. The ampersand caused the following letter
("U" in this case) to be highlighted as the "mnemonic" in the menu.
(This doesn't work anymore, though.) It appears NSUndoManager is
internally using the deprecated -setTitleWithMnemonic: instead of -
setTitle:
For more info, see my old thread with an answer from Matt Rollefson
of Apple:
Amazing! This was four years ago and nobody ever bothered to fix that
bug?? It
is clearly unwanted behaviour and goes against the documentation as
well.
Looks like I'll be better off just implementing that by myself
instead of working around
it... Cheers,
Martin
HairerSoft
http://www.hairersoft.com/
_______________________________________________
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