]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/nonownedwnd_osx.cpp
Correct format specifiers used to show wxIPV4address.
[wxWidgets.git] / src / osx / nonownedwnd_osx.cpp
index b3987670d7478a0347c561cb18ac4e595d5ca948..638af1d7ac52c1e5f5717eb744fa92061297452e 100644 (file)
@@ -167,8 +167,7 @@ wxNonOwnedWindow::~wxNonOwnedWindow()
 
     DestroyChildren();
 
-    delete m_nowpeer;
-    m_nowpeer = NULL;
+    wxDELETE(m_nowpeer);
 
     // avoid dangling refs
     if ( s_macDeactivateWindow == this )