mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:30:38 +00:00
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:
parent
9df20632e8
commit
81f25a9996
12 changed files with 762 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue