Rickey, Kyle W wrote:
Can anyone tell me why when you try to disable a menu item before it's
appended to the menu, it doesn't work. If I call MenuItem.Enable(False)
after it's been appended, it works fine. Sample code:
It probably has something to do with the menu item not being an valid native menu item until it is actually added to a menu. However it should be possible to make it set attributes like that when it is added to the menu. Please enter a bug report about this, and be sure to mention the platform.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!