diff options
Diffstat (limited to 'Mac/Modules/menu/menusupport.py')
-rw-r--r-- | Mac/Modules/menu/menusupport.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Modules/menu/menusupport.py b/Mac/Modules/menu/menusupport.py index cbd57bf..6424ed9 100644 --- a/Mac/Modules/menu/menusupport.py +++ b/Mac/Modules/menu/menusupport.py @@ -32,6 +32,8 @@ includestuff = includestuff + """ #include <%s>""" % MACHEADERFILE + """ #define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */ + +#define as_Menu(h) ((MenuHandle)h) """ class MyObjectDefinition(GlobalObjectDefinition): |