Added an instance method to NSMenu that will remove all of the items in
authorJoseph Spiros <joseph.spiros@ithinksw.com>
Tue, 26 Oct 2004 23:40:29 +0000 (23:40 +0000)
committerJoseph Spiros <joseph.spiros@ithinksw.com>
Tue, 26 Oct 2004 23:40:29 +0000 (23:40 +0000)
commita8daf8ac0972b8b5b582a97b50889fec447f45a4
tree40b49d18aa92ba5fb733d36a3af6930a7b292642
parent475a1064c9d3637e7fae211d7a18d411c1178af0
Added an instance method to NSMenu that will remove all of the items in
the reciever. Also added an instance method to NSView that allows for
subview removal from the superview's point of view, including a check
that is often rewritten whenever needed. This should save a few lines of
code whenever this aspect is required.
ITCategory-NSMenu.h
ITCategory-NSMenu.m
ITCategory-NSView.h
ITCategory-NSView.m