]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/dirmac.cpp
Explicitly set "C" locale for the tests using decimal point.
[wxWidgets.git] / src / osx / carbon / dirmac.cpp
index 493829f1f6c3fd2351fada1bd2ee8328bd94b6c1..1932960d97a494ac4ceb39d64b4ac953fa8a8307 100644 (file)
@@ -226,8 +226,7 @@ wxString wxDir::GetName() const
 
 wxDir::~wxDir()
 {
-    delete m_data;
-    m_data = NULL;
+    wxDELETE(m_data);
 }
 
 // ----------------------------------------------------------------------------