• Jan Djärv's avatar
    * nsmenu.m (initWithContentRect:styleMask:backing:defer:): Initialize · 0f19feff
    Jan Djärv authored
    dialog_return.
    (windowShouldClose:): Use stop instead of stopModalWithCode.
    (clicked:): Ditto, and also set dialog_return.
    (timeout_handler:): Use stop instead of abortModal.  Send a dummy
    event.
    (runDialogAt:): Make ret Lisp_Object.  Set it from dialog_return when
    modal loop returns.
    
    * nsterm.h (NSPanel): New class variable dialog_return.
    
    Fixes: debbugs:12258
    0f19feff
nsterm.h 26.9 KB