X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f5d78250c6dd003e8d06fea9e04b710bffdb41f..4f2511d706e5274a34e1521e11c1b95fed735b42:/include/wx/icon.h?ds=inline diff --git a/include/wx/icon.h b/include/wx/icon.h index f4f92e7451..23ece7720e 100644 --- a/include/wx/icon.h +++ b/include/wx/icon.h @@ -32,7 +32,11 @@ #elif defined(__WXDFB__) #include "wx/generic/icon.h" #elif defined(__WXMAC__) - #include "wx/mac/icon.h" +#if wxOSX_USE_CARBON + #include "wx/osx/icon.h" +#else + #include "wx/generic/icon.h" +#endif #elif defined(__WXCOCOA__) #include "wx/cocoa/icon.h" #elif defined(__WXPM__) @@ -45,7 +49,7 @@ #if wxUSE_VARIANT #include "wx/variant.h" -DECLARE_VARIANT_OBJECT_EXPORTED(wxIcon,WXDLLEXPORT) +DECLARE_VARIANT_OBJECT_EXPORTED(wxIcon,WXDLLIMPEXP_CORE) #endif