Mercurial > emacs
changeset 60622:005d5b72126b
[!TARGET_API_MAC_CARBON]: Include Appearance.h and Controls.h. Use
ThemeCursor instead of CursHandle.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Wed, 16 Mar 2005 03:27:38 +0000 |
parents | c30bb367650a |
children | 5a3fa411c713 |
files | src/macgui.h |
diffstat | 1 files changed, 2 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macgui.h Wed Mar 16 03:26:37 2005 +0000 +++ b/src/macgui.h Wed Mar 16 03:27:38 2005 +0000 @@ -68,22 +68,17 @@ #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)