summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menusupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/menu/menusupport.py')
-rw-r--r--Mac/Modules/menu/menusupport.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/Mac/Modules/menu/menusupport.py b/Mac/Modules/menu/menusupport.py
index 6c8229c..7c4ae0d 100644
--- a/Mac/Modules/menu/menusupport.py
+++ b/Mac/Modules/menu/menusupport.py
@@ -39,12 +39,7 @@ FMFontStyle = Type("FMFontStyle", "h")
UniChar = Type("UniChar", "h")
includestuff = includestuff + """
-#ifdef WITHOUT_FRAMEWORKS
-#include <Devices.h> /* Defines OpenDeskAcc in universal headers */
-#include <Menus.h>
-#else
#include <Carbon/Carbon.h>
-#endif
#ifdef USE_TOOLBOX_OBJECT_GLUE
@@ -56,16 +51,6 @@ extern int _MenuObj_Convert(PyObject *, MenuHandle *);
#define MenuObj_Convert _MenuObj_Convert
#endif
-#if !ACCESSOR_CALLS_ARE_FUNCTIONS
-#define GetMenuID(menu) ((*(menu))->menuID)
-#define GetMenuWidth(menu) ((*(menu))->menuWidth)
-#define GetMenuHeight(menu) ((*(menu))->menuHeight)
-
-#define SetMenuID(menu, id) ((*(menu))->menuID = (id))
-#define SetMenuWidth(menu, width) ((*(menu))->menuWidth = (width))
-#define SetMenuHeight(menu, height) ((*(menu))->menuHeight = (height))
-#endif
-
#define as_Menu(h) ((MenuHandle)h)
#define as_Resource(h) ((Handle)h)