]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dc.mm
Tried to restore wxPopupTransientWindow functionality
[wxWidgets.git] / src / cocoa / dc.mm
index 7ef93f80ee6e2b85d823325a75bde249ef2e9df3..94578291b67e48acd410da413fb94c3f1db66678 100644 (file)
@@ -146,6 +146,7 @@ wxDC::wxDC(void)
 
 wxDC::~wxDC(void)
 {
+    [m_cocoaWxToBoundsTransform release];
 }
 
 bool wxDC::CocoaLockFocus()
@@ -194,6 +195,7 @@ void wxDC::CocoaUnapplyTransformations()
     invertTransform = [m_cocoaWxToBoundsTransform copy];
     [invertTransform invert];
     [invertTransform concat];
+    [invertTransform release];
 }
 
 bool wxDC::CocoaGetBounds(void *rectData)