gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSavePanel runModal return value


From: Stefan Urbanek
Subject: NSSavePanel runModal return value
Date: Sun, 24 Nov 2002 12:39:33 +0100

Hi,

I have noticed that in Apples docs there is stated that NSSavePanel ... 
'Returns NSFileHandlingPanelOKButton (if the user clicks the OK button) or 
NSFileHandlingPanelCancelButton (if the user clicks the Cancel button). '

Current implementation returns NSOKButton and NSCancelButton. Possibly 
redefining NSOKButon and NSCancelButton to NSFileHandligPanel*Button should be 
ok. On the other side, the NSOKButton and NSCancelButton are defined in 
NSPanel.h not NSSavePanel.h so this should cause problems when those vars are 
used by some other panels than NSSavePanel.

Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]