[wxPython-users] Enabled MenuItems not 'ungreyed'
Robin Dunn
robin at alldunn.com
Mon Mar 26 10:59:36 PDT 2007
Bob Robison wrote:
> I have noticed an issue on MenuItems with both 2.6 and 2.8 versions
> of wxPython (Linux - gtk2). I have a menu that is being popped-up on
> a right-click in a list control (not sure if that matters...), but I
> enable/disable different menu items based on various other conditions
> at the time. The items functionally are enabled/disabled properly,
> but it seems that when enabling an item that has been disabled at
> some point in the past, it doesn't ungrey visually. i.e. it still
> looks (mostly) like it is disabled, but when the mouse is over this
> item you can tell it is active, and you can in fact select it -- so
> it seems to be just a refresh problem of some sort.
>
> Is there anything else that could(or should) be done to ensure these
> items show up properly?
No, calling Enable should be enough. Could you make a small sample that
demonstrates the problem?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list