# HG changeset patch # User james # Date 1063663450 0 # Node ID a4b5e2effaff77e313d8a4444c44ddd014ea518d # Parent d625b045931846286b63b87ae8ce5935d927e622 [xemacs-hg @ 2003-09-15 22:04:08 by james] Conditionally compile messages missing from the Cygwin headers. diff -r d625b0459318 -r a4b5e2effaff src/ChangeLog --- a/src/ChangeLog Mon Sep 15 21:52:26 2003 +0000 +++ b/src/ChangeLog Mon Sep 15 22:04:10 2003 +0000 @@ -1,3 +1,8 @@ +2003-09-15 Jerry James + + * event-msw.c (debug_mswin_messages): Conditionally compile + messages missing from the Cygwin headers. + 2003-09-15 Jerry James * event-msw.c (mswindows_wnd_proc): Use new w32api macros. diff -r d625b0459318 -r a4b5e2effaff src/event-msw.c --- a/src/event-msw.c Mon Sep 15 21:52:26 2003 +0000 +++ b/src/event-msw.c Mon Sep 15 22:04:10 2003 +0000 @@ -4859,7 +4859,7 @@ FROB (WM_GETHOTKEY) FROB (WM_QUERYDRAGICON) FROB (WM_COMPAREITEM) -#if(WINVER >= 0x0500) +#if(WINVER >= 0x0500) && defined(WM_GETOBJECT) FROB (WM_GETOBJECT) #endif /* WINVER >= 0x0500 */ FROB (WM_COMPACTING) @@ -4942,10 +4942,18 @@ FROB (WM_ENTERIDLE) #if(WINVER >= 0x0500) FROB (WM_MENURBUTTONUP) +#ifdef WM_MENUDRAG FROB (WM_MENUDRAG) +#endif +#ifdef WM_MENUGETOBJECT FROB (WM_MENUGETOBJECT) +#endif +#ifdef WM_UNINITMENUPOPUP FROB (WM_UNINITMENUPOPUP) +#endif +#ifdef WM_MENUCOMMAND FROB (WM_MENUCOMMAND) +#endif #endif /* WINVER >= 0x0500 */ @@ -5021,7 +5029,7 @@ FROB (WM_IME_SELECT) FROB (WM_IME_CHAR) #endif /* WINVER >= 0x0400 */ -#if(WINVER >= 0x0500) +#if(WINVER >= 0x0500) && defined(WM_IME_REQUEST) FROB (WM_IME_REQUEST) #endif /* WINVER >= 0x0500 */ #if(WINVER >= 0x0400)