# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1146989119 0 # Node ID 6d9fbe4cfce79f433cddbe5b95e2afaab4462cf4 # Parent 6c25fb5679a7a23d330689b5dc3bb435f13bf9f6 (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set and build is done on Mac OS X 10.2 and later. diff -r 6c25fb5679a7 -r 6d9fbe4cfce7 src/macgui.h --- a/src/macgui.h Sun May 07 08:05:02 2006 +0000 +++ b/src/macgui.h Sun May 07 08:05:19 2006 +0000 @@ -103,6 +103,13 @@ #endif #endif +/* Whether to use the standard Font Panel floating dialog. */ +#ifndef USE_MAC_FONT_PANEL +#if USE_ATSUI && MAC_OS_X_VERSION_MAX_ALLOWED >= 1020 +#define USE_MAC_FONT_PANEL 1 +#endif +#endif + typedef WindowPtr Window; typedef GWorldPtr Pixmap;