X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c2afb6fbc2dd02fa9672fae71767665ce32ae38..1de4baa31f17548b32a376a71ce50fee6a3e759c:/include/wx/artprov.h diff --git a/include/wx/artprov.h b/include/wx/artprov.h index 1c9807f160..3bba43e060 100644 --- a/include/wx/artprov.h +++ b/include/wx/artprov.h @@ -12,7 +12,7 @@ #ifndef _WX_ARTPROV_H_ #define _WX_ARTPROV_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "artprov.h" #endif @@ -30,10 +30,10 @@ class WXDLLEXPORT wxArtProviderCache; typedef wxString wxArtClient; typedef wxString wxArtID; -#define wxART_MAKE_CLIENT_ID_FROM_STR(id) id _T("_C") -#define wxART_MAKE_CLIENT_ID(id) wxART_MAKE_CLIENT_ID_FROM_STR(_T(#id)) -#define wxART_MAKE_ART_ID_FROM_STR(id) id -#define wxART_MAKE_ART_ID(id) wxART_MAKE_ART_ID_FROM_STR(_T(#id)) +#define wxART_MAKE_CLIENT_ID_FROM_STR(id) (wxString(id)+_T("_C")) +#define wxART_MAKE_CLIENT_ID(id) _T(#id) _T("_C") +#define wxART_MAKE_ART_ID_FROM_STR(id) (id) +#define wxART_MAKE_ART_ID(id) _T(#id) // ---------------------------------------------------------------------------- // Art clients