summaryrefslogtreecommitdiff
path: root/src/macgui.h
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-03-16 03:27:38 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-03-16 03:27:38 +0000
commit2f063626d3398bbe02ca76e11be49c2f40c1a460 (patch)
tree8d52d97a705bbca0f0ba7ad2fc533729e4d8b65f /src/macgui.h
parent901a6b035e69b9b8630dd4b756201a8f96cce348 (diff)
downloademacs-2f063626d3398bbe02ca76e11be49c2f40c1a460.tar.gz
[!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use
ThemeCursor instead of CursHandle.
Diffstat (limited to 'src/macgui.h')
-rw-r--r--src/macgui.h9
1 files 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 <QuickDraw.h> /* for WindowPtr */
#include <QDOffscreen.h> /* for GWorldPtr */
+#include <Appearance.h> /* for ThemeCursor */
#include <Windows.h>
+#include <Controls.h>
#include <Gestalt.h>
#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)