mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
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).
This commit is contained in:
parent
cbdff766d2
commit
8f5725af60
6 changed files with 45 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue