diff --git a/ChangeLog b/ChangeLog index ffa77ed95..7291af919 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-03-08 Fred Kiefer + + * Headers/AppKit/NSTextView.h: Make NSTextViewDelegate a formal protocol. + 2013-03-08 Fred Kiefer * configure.ac: Correct change for libpng. diff --git a/Headers/AppKit/NSTextView.h b/Headers/AppKit/NSTextView.h index 9d7df7d86..278d9467c 100644 --- a/Headers/AppKit/NSTextView.h +++ b/Headers/AppKit/NSTextView.h @@ -654,7 +654,13 @@ for that text view has been invalidated. layout manager. */ #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST) +@protocol NSTextViewDelegate +#ifdef __OBJC2__ +@optional +#else +@end @interface NSObject (NSTextViewDelegate) +#endif -(void) textView: (NSTextView *)textView clickedOnCell: (id )cell