]> git.eshelyaron.com Git - emacs.git/commitdiff
(WM_APPCOMMAND): Define if not already.
authorJason Rumney <jasonr@gnu.org>
Fri, 9 Nov 2007 12:16:34 +0000 (12:16 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 9 Nov 2007 12:16:34 +0000 (12:16 +0000)
(GET_APPCOMMAND_LPARAM): Likewise.

src/w32term.h

index 1af1d89846ff479c8ef29202781da7a603f08292..f7b8efad9544bc984098dc2fe250e82f591ca544 100644 (file)
@@ -615,6 +615,10 @@ extern void w32_unload_font ();
 #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)