]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/nonownedwnd.mm
fix MSVC warnings about possibly uninitialized variables; some reindentation
[wxWidgets.git] / src / osx / cocoa / nonownedwnd.mm
index f442eef85a0c6808a251cd2c91a6c6278084001e..ac233c8e19cac51c9d10f5e2f102a5e620640e45 100644 (file)
@@ -227,6 +227,7 @@ wxNonOwnedWindowCocoaImpl::wxNonOwnedWindowCocoaImpl()
     
 wxNonOwnedWindowCocoaImpl::~wxNonOwnedWindowCocoaImpl()
 {
+    [m_macWindow setDelegate:nil];
     [m_macWindow release];
 }