diff --git a/include/wx/mimetype.h b/include/wx/mimetype.h index 9494e1ad16..973162160c 100644 --- a/include/wx/mimetype.h +++ b/include/wx/mimetype.h @@ -30,7 +30,12 @@ #include "wx/dynarray.h" // fwd decls +#if defined(__WXMSW__) class WXDLLEXPORT wxIconLocation; +#else +class WXDLLEXPORT wxIconLocationBase; +typedef wxIconLocationBase wxIconLocation; +#endif //defined(__WXMSW__) class WXDLLEXPORT wxFileTypeImpl; class WXDLLEXPORT wxMimeTypesManagerImpl;