Adding a number of changes. The skeleton implementations of NSToolbar and

NSToolbarItem as well as a number of miscellaneous things I have had laying
around for a while.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13997 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2002-06-30 05:14:21 +00:00
parent 9df20632e8
commit 81f25a9996
12 changed files with 762 additions and 15 deletions

View file

@ -141,6 +141,29 @@ static NSImage *unexpandable = nil;
return self;
}
- (void) dealloc
{
RELEASE(_items);
RELEASE(_expandedItems);
NSFreeMapTable(_itemDict);
NSFreeMapTable(_levelOfItems);
if(_autosaveExpandedItems)
{
// notify when an item expands...
[nc removeObserver: self
name: NSOutlineViewItemDidExpandNotification
object: self];
// notify when an item collapses...
[nc removeObserver: self
name: NSOutlineViewItemDidCollapseNotification
object: self];
}
[super dealloc];
}
- (BOOL)autoResizesOutlineColumn
{
return _autoResizesOutlineColumn;