From 2f063626d3398bbe02ca76e11be49c2f40c1a460 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Wed, 16 Mar 2005 03:27:38 +0000 Subject: [PATCH] [!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use ThemeCursor instead of CursHandle. --- src/macgui.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/macgui.h b/src/macgui.h index 6a961318b76..9cddd8101e7 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -68,22 +68,17 @@ typedef unsigned long Time; #else /* not HAVE_CARBON */ #include /* for WindowPtr */ #include /* for GWorldPtr */ +#include /* for ThemeCursor */ #include +#include #include #endif /* not HAVE_CARBON */ typedef WindowPtr Window; typedef GWorldPtr Pixmap; -#if TARGET_API_MAC_CARBON #define Cursor ThemeCursor #define No_Cursor (-1) -#else -#define SetPortWindowPort(w) SetPort(w) -#define Cursor CursHandle -#define No_Cursor (0) -extern CursPtr arrow_cursor; -#endif #define FACE_DEFAULT (~0) -- 2.39.2