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

@ -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.