diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-14 21:18:27 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-14 21:18:35 +0800 |
commit | 5aef501d9c3394599dd2e48ff7ba7bb5f13cd19a (patch) | |
tree | 7ee2bd892429814c6f8b9c22ae9adb4dec0027ff /lisp/emacs-lisp | |
parent | e0044dfeb0de0d0cafdef04b433b14afa27d3518 (diff) | |
download | emacs-5aef501d9c3394599dd2e48ff7ba7bb5f13cd19a.tar.gz emacs-5aef501d9c3394599dd2e48ff7ba7bb5f13cd19a.tar.bz2 emacs-5aef501d9c3394599dd2e48ff7ba7bb5f13cd19a.zip |
Fix processing of dialog box items on NS
* src/nsmenu.m (pop_down_menu): Remove old hack and discard menu
items.
(ns_popup_dialog):
([EmacsDialogPanel initWithContentRect:styleMask:backing:defer:]):
([EmacsDialogPanel windowShouldClose:]):
([EmacsDialogPanel dealloc]):
([EmacsDialogPanel processdialog:]):
([EmacsDialogPanel addButton:value:row:]):
([EmacsDialogPanel addString:row:]):
([EmacsDialogPanel clicked:]):
([EmacsDialogPanel initFromContents:isQuestion:]):
([EmacsDialogPanel timeouthandler:]):
([EmacsDialogPanel runDialogAt:]): Use the regular menu item
machinery to parse dialog items instead of the incorrect ad-hoc
code used previously.
* src/nsterm.h: Update prototypes.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions