changeset 85978:4c0bb0c5c744

(WM_APPCOMMAND): Define if not already. (GET_APPCOMMAND_LPARAM): Likewise.
author Jason Rumney <jasonr@gnu.org>
date Fri, 09 Nov 2007 12:16:34 +0000
parents 3ab9489c2f1a
children bb1f44062552
files src/w32term.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.h	Fri Nov 09 10:40:32 2007 +0000
+++ b/src/w32term.h	Fri Nov 09 12:16:34 2007 +0000
@@ -615,6 +615,10 @@
 #ifndef WM_MOUSEHWHEEL
 #define WM_MOUSEHWHEEL                 (WM_MOUSEWHEEL + 4)
 #endif /* WM_MOUSEHWHEEL  */
+#ifndef WM_APPCOMMAND
+#define WM_APPCOMMAND 0x319
+#define GET_APPCOMMAND_LPARAM(lParam)  (HIWORD(lParam) & 0x7fff)
+#endif
 
 #define WM_EMACS_START                 (WM_USER + 1)
 #define WM_EMACS_KILL                  (WM_EMACS_START + 0)