From: Richard M. Stallman Date: Fri, 20 Jan 1995 23:38:46 +0000 (+0000) Subject: (x_mouse_leave): Add neutralizing define. X-Git-Tag: emacs-19.34~5355 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cbc07d0a1d845f41c8afde46853aa9a55bdb0420;p=emacs.git (x_mouse_leave): Add neutralizing define. (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate, XMenuActivate, XMenuDestroy): Add prototype. --- diff --git a/src/msdos.h b/src/msdos.h index 37a576a11c4..fe2a23ce006 100644 --- a/src/msdos.h +++ b/src/msdos.h @@ -5,7 +5,7 @@ This file is part of GNU Emacs. 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 @@ extern Display *x_current_display; #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 @@ typedef struct x_menu_struct 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_ */