diff src/event-msw.c @ 1687:a4b5e2effaff

[xemacs-hg @ 2003-09-15 22:04:08 by james] Conditionally compile messages missing from the Cygwin headers.
author james
date Mon, 15 Sep 2003 22:04:10 +0000
parents 29c45c1b64f3
children a8d8f419b459
line wrap: on
line diff
--- 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)