/////////////////////////////////////////////////////////////////////////////
-// Name: mac/dirmac.cpp
+// Name: src/osx/carbon/dirmac.cpp
// Purpose: wxDir implementation for Mac
// Author: Stefan Csomor
// Modified by:
// Created: 08.12.99
-// RCS-ID: $Id$
// Copyright: (c) 1999 Stefan Csomor <csomor@advanced.ch>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#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);
}
// ----------------------------------------------------------------------------