]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/icon.mm
removed wxIsLoggingEnabled() as it could create the log target as an unwanted side...
[wxWidgets.git] / src / cocoa / icon.mm
index f3cb56d6d7d271fb57e2184d4b5056f426912eef..889f03e7cd2b579b8d45dee54a8cf6c807a2c910 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003/08/11
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWindows licence
+// Licence:    wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -66,6 +66,7 @@ wxIconRefData::wxIconRefData( const wxIconRefData& data)
 
 wxIconRefData::~wxIconRefData()
 {
+    wxAutoNSAutoreleasePool pool;
     [m_cocoaNSImage release];
     m_cocoaNSImage = NULL;
 }