Using OSX-Cocoa 2.9 it seems that UpdateUI events don’t get sent for MenuItems that use stock IDs but do for custom IDs or toolbar items using stock IDs.
In attached example run and open the edit menu. Only one of the three items receives an UpdateUI event, if you then type in the text window and open the menu again still only one for the item with the custom ID gets sent so the other items Undo/Redo are always disabled.
I still haven’t bothered updating from 10.5 on my Mac so wondering if anyone else is seeing this on 10.7/10.6 as well.
I'm not sure if it is exactly the same thing, but I think there was some discussion on wx-dev about this recently, so Stefan should be aware of it.
···
On 9/10/11 10:12 AM, Cody Precord wrote:
Hi,
Using OSX-Cocoa 2.9 it seems that UpdateUI events don't get sent for
MenuItems that use stock IDs but do for custom IDs or toolbar items
using stock IDs.
In attached example run and open the edit menu. Only one of the three
items receives an UpdateUI event, if you then type in the text window
and open the menu again still only one for the item with the custom ID
gets sent so the other items Undo/Redo are always disabled.
I still haven't bothered updating from 10.5 on my Mac so wondering if
anyone else is seeing this on 10.7/10.6 as well.