mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Add Enabled property for wx.MenuItem
This commit is contained in:
@@ -140,6 +140,8 @@ def run():
|
||||
#endif
|
||||
""")
|
||||
|
||||
c.addAutoProperties()
|
||||
c.addItem(etgtools.PropertyDef('Enabled', 'IsEnabled', 'Enable'))
|
||||
|
||||
c.find('GetAccel').factory = True
|
||||
c.find('GetAccelFromString').ignore() # Not implemented anywere?
|
||||
|
||||
@@ -32,6 +32,7 @@ class menuitem_Tests(wtc.WidgetTestCase):
|
||||
m.SubMenu
|
||||
m.Text
|
||||
m.TextColour
|
||||
m.Enabled
|
||||
|
||||
|
||||
def test_menuitemKinds(self):
|
||||
|
||||
Reference in New Issue
Block a user