mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Add '@optional' to the declaration for the NSComboBoxDataSource and NSComboBoxDelegate protocols.
This commit is contained in:
parent
80dbe45d3d
commit
79fdee761e
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2021-09-29 Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSComboBox.h: Add @optional to protocol
|
||||
declarations for NSComboBoxDelegate and NSComboBoxDataSource.
|
||||
|
||||
2021-06-17 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Source/NSHelpPanel.m: (initWithContentRect)
|
||||
|
|
|
@ -96,6 +96,7 @@
|
|||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
|
||||
@protocol NSComboBoxDataSource <NSObject>
|
||||
@optional
|
||||
#else
|
||||
@interface NSObject (NSComboBoxDataSource)
|
||||
#endif
|
||||
|
@ -112,6 +113,7 @@
|
|||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
|
||||
@protocol NSComboBoxDelegate <NSTextFieldDelegate>
|
||||
@optional
|
||||
#else
|
||||
@interface NSObject (NSComboBoxNotifications)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue