/////////////////////////////////////////////////////////////////////////////
-// Name: mac/dirmac.cpp
+// Name: src/osx/carbon/dirmac.cpp
// Purpose: wxDir implementation for Mac
// Author: Stefan Csomor
// Modified by:
#include "wx/log.h"
#endif // PCH
-#include "wx/filefn.h" // for wxDirExists()
#include "wx/filename.h"
#include "wx/osx/private.h"
return true;
}
-// ----------------------------------------------------------------------------
-// wxDir helpers
-// ----------------------------------------------------------------------------
-
-/* static */
-bool wxDir::Exists(const wxString& dir)
-{
- return wxDirExists(dir);
-}
-
// ----------------------------------------------------------------------------
// wxDir construction/destruction
// ----------------------------------------------------------------------------
wxDir::~wxDir()
{
- delete m_data;
- m_data = NULL;
+ wxDELETE(m_data);
}
// ----------------------------------------------------------------------------