From b1b415de01912a8bae8560538ed611a82578582d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sun, 7 May 2006 08:05:19 +0000 Subject: [PATCH] (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set and build is done on Mac OS X 10.2 and later. --- src/macgui.h | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 2.39.2