#include <windows.h>
#endif
+#include "wx/mac/private.h"
+
#include "MoreFiles.h"
#include "MoreFilesExtras.h"
wxDir::~wxDir()
{
- delete M_DIR;
+ if (M_DIR != NULL) {
+ delete M_DIR;
+ m_data = NULL;
+ }
}
// ----------------------------------------------------------------------------