]> git.saurik.com Git - wxWidgets.git/commitdiff
Only MSW has a class wxIconLocation. The other platforms have
authorDavid Elliott <dfe@tgwbd.org>
Mon, 23 Jun 2003 15:27:17 +0000 (15:27 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 23 Jun 2003 15:27:17 +0000 (15:27 +0000)
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

include/wx/mimetype.h

index 9494e1ad1683e18e8051544ffb22c189eeb2b0bd..973162160cfd41ecb85f818fac58e9c49a71a084 100644 (file)
 #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;