Added method [copyWithZone:].

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8103 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2000-11-13 15:16:40 +00:00
parent edfa3114b9
commit d08bdb8b6a

View file

@ -158,6 +158,15 @@ NSDictionary *paperSizes = nil;
[super dealloc];
}
- (id) copyWithZone: (NSZone*)z
{
NSPrintInfo *new = (NSPrintInfo *)NSCopyObject(self, 0, z);
new->_info = [_info mutableCopyWithZone: z];
return new;
}
//
// Managing the Printing Rectangle
//