mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:10:37 +00:00
Merged in 'dawn' CVS branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ac6ec019f7
commit
55b55d3fee
65 changed files with 794 additions and 774 deletions
|
@ -302,16 +302,16 @@ static Class menuCellClass = nil;
|
|||
|
||||
- (id)copyWithZone:(NSZone*)zone
|
||||
{
|
||||
NSMenu* copy = NSAllocateObject (isa, 0, zone);
|
||||
int i, count;
|
||||
NSArray* cells;
|
||||
NSMenu *copy = NSAllocateObject (isa, 0, zone);
|
||||
unsigned i, count;
|
||||
NSArray *cells;
|
||||
|
||||
NSDebugLog (@"copy menu with title '%@'", [self title]);
|
||||
|
||||
copy->title = [title copyWithZone:zone];
|
||||
copy->title = [title copyWithZone: zone];
|
||||
|
||||
copy->menuCells = [menuCells copyWithZone:zone];
|
||||
[copy->menuCells setMenu:copy];
|
||||
copy->menuCells = [menuCells copyWithZone: zone];
|
||||
[copy->menuCells setMenu: copy];
|
||||
|
||||
/* Change the supermenu object of the new cells to the new menu */
|
||||
cells = [copy->menuCells itemArray];
|
||||
|
@ -602,12 +602,12 @@ static Class menuCellClass = nil;
|
|||
return menuCells;
|
||||
}
|
||||
|
||||
- initWithCoder:(NSCoder*)aDecoder
|
||||
- (id) initWithCoder: (NSCoder*)aDecoder
|
||||
{
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(NSCoder*)aCoder
|
||||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue