summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menuedit.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/menu/menuedit.py')
-rw-r--r--Mac/Modules/menu/menuedit.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/menu/menuedit.py b/Mac/Modules/menu/menuedit.py
index 37aace4..8e7d12b 100644
--- a/Mac/Modules/menu/menuedit.py
+++ b/Mac/Modules/menu/menuedit.py
@@ -3,6 +3,10 @@ f = Function(void, 'OpenDeskAcc',
)
functions.append(f)
+f = Function(MenuHandle, 'as_Menu',
+ (Handle, 'h', InMode))
+functions.append(f)
+
as_resource_body = """
return ResObj_New((Handle)_self->ob_itself);
"""