From: YAMAMOTO Mitsuharu Date: Sun, 7 May 2006 08:05:19 +0000 (+0000) Subject: (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set X-Git-Tag: emacs-pretest-22.0.90~2707 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b1b415de01912a8bae8560538ed611a82578582d;p=emacs.git (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 --git a/src/macgui.h b/src/macgui.h index 579ae2b7663..f7005600d43 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -103,6 +103,13 @@ typedef unsigned long Time; #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;