]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/icon.mm
split wxUSE_MDI from wxUSE_MDI_ARCHITECTURE (which is wxUSE_MDI + wxUSE_DOCVIEW)
[wxWidgets.git] / src / cocoa / icon.mm
index f3cb56d6d7d271fb57e2184d4b5056f426912eef..d8c612aab159f3b7d9be6fce9e20c14a7c6b38c2 100644 (file)
@@ -66,6 +66,7 @@ wxIconRefData::wxIconRefData( const wxIconRefData& data)
 
 wxIconRefData::~wxIconRefData()
 {
+    wxAutoNSAutoreleasePool pool;
     [m_cocoaNSImage release];
     m_cocoaNSImage = NULL;
 }