comparison src/w32menu.c @ 62670:5ba03d610746

(Fx_popup_dialog): Allow 3rd optional argument.
author Nick Roberts <nickrob@snap.net.nz>
date Tue, 24 May 2005 08:45:35 +0000
parents d126643d7af1
children 9bde03db5726 5b029ff3b08d
comparison
equal deleted inserted replaced
62669:befffaf3d1cf 62670:5ba03d610746
843 return selection; 843 return selection;
844 } 844 }
845 845
846 #ifdef HAVE_MENUS 846 #ifdef HAVE_MENUS
847 847
848 DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 2, 0, 848 DEFUN ("x-popup-dialog", Fx_popup_dialog, Sx_popup_dialog, 2, 3, 0,
849 doc: /* Pop up a dialog box and return user's selection. 849 doc: /* Pop up a dialog box and return user's selection.
850 POSITION specifies which frame to use. 850 POSITION specifies which frame to use.
851 This is normally a mouse button event or a window or frame. 851 This is normally a mouse button event or a window or frame.
852 If POSITION is t, it means to use the frame the mouse is on. 852 If POSITION is t, it means to use the frame the mouse is on.
853 The dialog box appears in the middle of the specified frame. 853 The dialog box appears in the middle of the specified frame.