diff --git a/ChangeLog b/ChangeLog index e853b0ff5..71cb87ca1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-03 Fred Kiefer + + * Source/NSControl.m (-mouseDownFlags): Add old NeXT method, no + longer present, but needed for backward compatibility. + 2008-05-03 Fred Kiefer * Source/NSTableView.m (-selectRow:byExtendingSelection:, diff --git a/Source/NSControl.m b/Source/NSControl.m index 8d4cb4155..061273855 100644 --- a/Source/NSControl.m +++ b/Source/NSControl.m @@ -920,6 +920,15 @@ static NSNotificationCenter *nc; _ignoresMultiClick = flag; } +/**

Returns the mouse flags. This flags are usally sets in + the NSCell-trackMouse:inRect:ofView:untilMouseUp: method.

+

This is a NeXTStep 3.3 method, no longer officially supported.

+ */ +- (int) mouseDownFlags +{ + return [[self selectedCell] mouseDownFlags]; +} + /* * NSCoding protocol */