]> git.eshelyaron.com Git - emacs.git/commitdiff
[!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 16 Mar 2005 03:27:38 +0000 (03:27 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 16 Mar 2005 03:27:38 +0000 (03:27 +0000)
ThemeCursor instead of CursHandle.

src/macgui.h

index 6a961318b760c60ed1f3d659689b736f45b609e3..9cddd8101e7bcf31faf7bcb6604f631834b617c5 100644 (file)
@@ -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)