]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/dirmac.cpp
Correct format specifiers used to show wxIPV4address.
[wxWidgets.git] / src / osx / carbon / dirmac.cpp
index 6ac3a147f54ed2e3b127e2898ecb654dfefadbe7..1932960d97a494ac4ceb39d64b4ac953fa8a8307 100644 (file)
@@ -31,7 +31,6 @@
     #include "wx/log.h"
 #endif // PCH
 
-#include "wx/filefn.h"          // for wxDirExists()
 #include "wx/filename.h"
 #include "wx/osx/private.h"
 
@@ -185,16 +184,6 @@ bool wxDirData::Read(wxString *filename)
     return true;
 }
 
-// ----------------------------------------------------------------------------
-// wxDir helpers
-// ----------------------------------------------------------------------------
-
-/* static */
-bool wxDir::Exists(const wxString& dir)
-{
-    return wxDirExists(dir);
-}
-
 // ----------------------------------------------------------------------------
 // wxDir construction/destruction
 // ----------------------------------------------------------------------------
@@ -237,8 +226,7 @@ wxString wxDir::GetName() const
 
 wxDir::~wxDir()
 {
-    delete m_data;
-    m_data = NULL;
+    wxDELETE(m_data);
 }
 
 // ----------------------------------------------------------------------------