OSX-Cocoa UpdateUI

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.

Thanks,

Cody

osx_cocoa_updateui.py (1.16 KB)

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.

--
Robin Dunn
Software Craftsman

Hi,

···

On Sep 10, 8:38 pm, Robin Dunn <ro...@alldunn.com> wrote:

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.

Yes must have missed the it before (wxTrac has been migrated to GitHub Issues - wxWidgets
13431).

Thanks,

Cody