|
From: | Doug Simons |
Subject: | [bug #26101] NSBeginAlertSheet() doesn't call the didEndSelector |
Date: | Tue, 07 Apr 2009 04:04:38 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1 |
URL: <http://savannah.gnu.org/bugs/?26101> Summary: NSBeginAlertSheet() doesn't call the didEndSelector Project: GNUstep Submitted by: theeggcamefirst Submitted on: Tue 07 Apr 2009 04:04:36 AM GMT Category: Gui/AppKit Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: The NSBeginAlertSheet() function accepts two call-back selectors that Apple calls the didEndSelector and the didDismissSelector. It appears that GNUstep refers to them as the willEndSelector and didEndSelector instead, which is confusing, and ignores the first of them. It appears to me that renaming the parameters to the function to match Apple's docs and then calling the didDismissSelector (if one is given) after the sheet/panel has been closed would fix the problem and provide compatibility with Cocoa. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?26101> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |