From: David Elliott Date: Mon, 23 Jun 2003 15:27:17 +0000 (+0000) Subject: Only MSW has a class wxIconLocation. The other platforms have X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c0e2aaa94a6f780fd6d63b8b1e420259fda6689f?ds=inline Only MSW has a class wxIconLocation. The other platforms have typedef wxIconLocationBase wxIconLocation; Apple's GCC does not like the mismatch when forward declaring it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;