#ifndef _MIMETYPE_IMPL_H
#define _MIMETYPE_IMPL_H
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "mimetype.h"
#endif
wxString GetExtension(size_t index) { return m_aExtensions[index]; }
private:
- void InitIfNeeded()
- {
- if ( !m_initialized ) {
- // set the flag first to prevent recursion
- m_initialized = TRUE;
- Initialize();
- }
- }
+ void InitIfNeeded();
wxArrayString m_aTypes, // MIME types
m_aDescriptions, // descriptions (just some text)