Sending copy to an instance infers ownership by the sender so we must
send release to the returned instance when we're done. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -194,6 +194,7 @@ void wxDC::CocoaUnapplyTransformations()
|
|||||||
invertTransform = [m_cocoaWxToBoundsTransform copy];
|
invertTransform = [m_cocoaWxToBoundsTransform copy];
|
||||||
[invertTransform invert];
|
[invertTransform invert];
|
||||||
[invertTransform concat];
|
[invertTransform concat];
|
||||||
|
[invertTransform release];
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxDC::CocoaGetBounds(void *rectData)
|
bool wxDC::CocoaGetBounds(void *rectData)
|
||||||
|
Reference in New Issue
Block a user