diff --git a/Headers/gnustep/gui/NSControl.h b/Headers/gnustep/gui/NSControl.h index 01a8a8c63..ba095acf4 100644 --- a/Headers/gnustep/gui/NSControl.h +++ b/Headers/gnustep/gui/NSControl.h @@ -151,17 +151,6 @@ - (BOOL)ignoresMultiClick; - (void)setIgnoresMultiClick:(BOOL)flag; -// -// Methods Implemented by the Delegate -// -- (BOOL)control:(NSControl *)control - textShouldBeginEditing:(NSText *)fieldEditor; -- (BOOL)control:(NSControl *)control - textShouldEndEditing:(NSText *)fieldEditor; -- (void)controlTextDidBeginEditing:(NSNotification *)aNotification; -- (void)controlTextDidEndEditing:(NSNotification *)aNotification; -- (void)controlTextDidChange:(NSNotification *)aNotification; - // // NSCoding protocol // @@ -174,4 +163,19 @@ extern NSString *NSControlTextDidBeginEditingNotification; extern NSString *NSControlTextDidEndEditingNotification; extern NSString *NSControlTextDidChangeNotification; + +// +// Methods Implemented by the Delegate +// +@interface NSObject (NSControlDelegate) +- (BOOL)control:(NSControl *)control + textShouldBeginEditing:(NSText *)fieldEditor; +- (BOOL)control:(NSControl *)control + textShouldEndEditing:(NSText *)fieldEditor; +- (void)controlTextDidBeginEditing:(NSNotification *)aNotification; +- (void)controlTextDidEndEditing:(NSNotification *)aNotification; +- (void)controlTextDidChange:(NSNotification *)aNotification; +@end + + #endif // _GNUstep_H_NSControl