# HG changeset patch # User Richard M. Stallman # Date 790645126 0 # Node ID 4d94f31dc5558521decdd86318c62d41b8a58eeb # Parent 1b08df5c5e4a3ea5c76d85e8d4e30dd36c96dcd8 (x_mouse_leave): Add neutralizing define. (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate, XMenuActivate, XMenuDestroy): Add prototype. diff -r 1b08df5c5e4a -r 4d94f31dc555 src/msdos.h --- a/src/msdos.h Fri Jan 20 23:37:41 1995 +0000 +++ b/src/msdos.h Fri Jan 20 23:38:46 1995 +0000 @@ -5,7 +5,7 @@ GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) +the Free Software Foundation; either version 2, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, @@ -106,6 +106,7 @@ #define FONT_WIDTH(foo) 1 /* Function `getcbrk' is the most harmless I can think of right now... */ #define check_x if (FRAME_TERMCAP_P (bar)) error ("Not running under a windows system."); else getcbrk +#define x_mouse_leave getcbrk #define XM_FAILURE -1 #define XM_SUCCESS 1 #define XM_NO_SELECT 2 @@ -123,6 +124,14 @@ int width; } XMenu; +XMenu *XMenuCreate (Display *, Window, char *); +int XMenuAddPane (Display *, XMenu *, char *, int); +int XMenuAddSelection (Display *, XMenu *, int, int, char *, int); +void XMenuLocate (Display *, XMenu *, int, int, int, int, + int *, int *, int *, int *); +int XMenuActivate (Display *, XMenu *, int *, int *, int, int, unsigned, char **); +void XMenuDestroy (Display *, XMenu *); + #endif /* not HAVE_X_WINDOWS */ #endif /* not _MSDOS_H_ */