summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macglue.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1999-12-07 23:08:10 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1999-12-07 23:08:10 (GMT)
commit8f5725af60cc26787bf61549fc780537f287ebc0 (patch)
tree9bc93b64dba5256755cbef4c62ca15a84830efd8 /Mac/Python/macglue.c
parentcbdff766d2be1e065c76dc571552ebe3747dcf70 (diff)
downloadcpython-8f5725af60cc26787bf61549fc780537f287ebc0.zip
cpython-8f5725af60cc26787bf61549fc780537f287ebc0.tar.gz
cpython-8f5725af60cc26787bf61549fc780537f287ebc0.tar.bz2
First bits and pieces of appearance support: an init routine, a global flag PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE
is off the code is disabled (but the variables are still there, set to 0).
Diffstat (limited to 'Mac/Python/macglue.c')
-rw-r--r--Mac/Python/macglue.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index fa27c79..4b4c021 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -155,6 +155,11 @@ static int upp_inited = 0;
*/
static PyObject *python_event_handler;
+/*
+** Set to true if we're appearance-compliant
+*/
+int PyMac_AppearanceCompliant;
+
#ifdef USE_GUSI
/*
** GUSI (1.6.0 and earlier, at the least) do not set the MacOS idea of