// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "mimetype.h"
#endif
#ifndef WX_PRECOMP
#include "wx/string.h"
- #if wxUSE_GUI
- #include "wx/icon.h"
-
- #endif
#endif //WX_PRECOMP
// change nIndex so we can use it below to add the extensions
m_aExtensions.Add(wxEmptyString);
- nIndex = m_aExtensions.size();
+ nIndex = m_aExtensions.size() - 1;
m_aDescriptions.Add(strDesc);
}