summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/macglue.h2
-rw-r--r--Mac/Include/pythonresources.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index 929e9ca..035b51f 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -63,6 +63,8 @@ PyObject *PyErr_Mac(PyObject *, int); /* Exception with a mac error */
PyObject *PyMac_Error(OSErr); /* Uses PyMac_GetOSErrException */
void PyMac_HandleEvent Py_PROTO((EventRecord *)); /* Handle one event, if possible */
+void PyMac_InitMenuBar(void); /* Setup menu bar as we want it */
+
int PyMac_FindResourceModule(char *, char *); /* Test for 'PYC ' resource in a file */
PyObject * PyMac_LoadResourceModule(char *, char *); /* Load 'PYC ' resource from file */
diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h
index 93e046b..dd847ff 100644
--- a/Mac/Include/pythonresources.h
+++ b/Mac/Include/pythonresources.h
@@ -56,6 +56,9 @@
/* Dialog for 'Bad preference file' */
#define BADPREFFILE_ID 135
+/* About box */
+#define ABOUT_ID 136
+
/*
** The following are valid both in the binary (or shared library)
** and in the Preferences file.
@@ -83,6 +86,9 @@
#define POPT_KEEPNORM 5
#define POPT_KEEPERR 6
+/* Our menu bar */
+#define MENUBAR_ID 128
+
/* From macgetpath.c: */
void PyMac_PreferenceOptions Py_PROTO((int *inspect, int *verbose, int *suppress_print,
int *unbuffered, int *debugging, int *keep_normal,