// implementation classes:
#if defined(__WXMSW__)
#include "wx/msw/mimetype.h"
-#elif defined (__WXMAC__)
+#elif defined(__WXMAC__)
#include "wx/mac/mimetype.h"
-#elif defined (__WXPM__)
+#elif defined(__WXPM__)
#include "wx/os2/mimetype.h"
#else // Unix
#include "wx/unix/mimetype.h"
wxMimeTypesManager::~wxMimeTypesManager()
{
- delete m_impl;
+ if ( m_impl )
+ delete m_impl;
}
wxFileType *