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
This commit is contained in:
David Elliott
2003-06-23 15:27:17 +00:00
parent c41b649631
commit c0e2aaa94a

View File

@@ -30,7 +30,12 @@
#include "wx/dynarray.h" #include "wx/dynarray.h"
// fwd decls // fwd decls
#if defined(__WXMSW__)
class WXDLLEXPORT wxIconLocation; class WXDLLEXPORT wxIconLocation;
#else
class WXDLLEXPORT wxIconLocationBase;
typedef wxIconLocationBase wxIconLocation;
#endif //defined(__WXMSW__)
class WXDLLEXPORT wxFileTypeImpl; class WXDLLEXPORT wxFileTypeImpl;
class WXDLLEXPORT wxMimeTypesManagerImpl; class WXDLLEXPORT wxMimeTypesManagerImpl;