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:
parent
3e21fc053d
commit
f48ab29b5c
@ -194,6 +194,7 @@ void wxDC::CocoaUnapplyTransformations()
|
||||
invertTransform = [m_cocoaWxToBoundsTransform copy];
|
||||
[invertTransform invert];
|
||||
[invertTransform concat];
|
||||
[invertTransform release];
|
||||
}
|
||||
|
||||
bool wxDC::CocoaGetBounds(void *rectData)
|
||||
|
Loading…
Reference in New Issue
Block a user