Alleded missing copy to combobox.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19519 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-06-14 23:30:11 +00:00
parent e64a03de2f
commit 1d68023071
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-06-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSComboBoxCell.m: (-copyWithZone:) Added missing method.
2004-06-11 Adam Fedor <fedor@gnu.org>
* Version 0.9.3

View file

@ -763,6 +763,17 @@ numberOfRowsInColumn: (int)column
[super dealloc];
}
- (id) copyWithZone: (NSZone*)zone
{
NSComboBoxCell *c = [super copyWithZone: zone];
c->_buttonCell = [_buttonCell copyWithZone: zone];
[c->_buttonCell setTarget: c];
c->_popUpList = [_popUpList copyWithZone: zone];
return c;
}
/**
* Returns YES when the combo box cell displays a vertical scroller for its
* list, returns NO otherwise.