mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
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:
parent
edfa3114b9
commit
d08bdb8b6a
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue