mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-25 00:40:55 +00:00
Implement dealloc/copyWithZone on Win32CairoGState instance
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39618 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
05640cbf48
commit
6e1de7df76
1 changed files with 13 additions and 0 deletions
|
@ -52,6 +52,19 @@ POINT GSWindowPointToMS(GSGState *s, NSPoint p)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void) dealloc
|
||||||
|
{
|
||||||
|
DESTROY(_lastPath);
|
||||||
|
[super dealloc];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (id)copyWithZone: (NSZone *)zone
|
||||||
|
{
|
||||||
|
Win32CairoGState *object = [super copyWithZone: zone];
|
||||||
|
object->_lastPath = [_lastPath copy];
|
||||||
|
return object;
|
||||||
|
}
|
||||||
|
|
||||||
- (HDC) getHDC
|
- (HDC) getHDC
|
||||||
{
|
{
|
||||||
if (_surface)
|
if (_surface)
|
||||||
|
|
Loading…
Reference in a new issue