mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Add Enabled property for wx.MenuItem
(cherry picked from commit af7f52b640)
This commit is contained in:
@@ -148,6 +148,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?
|
||||
|
||||
@@ -28,6 +28,7 @@ class menuitem_Tests(wtc.WidgetTestCase):
|
||||
m.Menu
|
||||
m.SubMenu
|
||||
m.TextColour
|
||||
m.Enabled
|
||||
|
||||
|
||||
def test_menuitemKinds(self):
|
||||
|
||||
Reference in New Issue
Block a user