X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2e4537233bf14d46d4915bb046ae7ac27b2c8a1..0555b2a0a3c509687e7fc5aeb160f5171b7e6311:/include/wx/univ/theme.h diff --git a/include/wx/univ/theme.h b/include/wx/univ/theme.h index 5e761d1617..4694f37960 100644 --- a/include/wx/univ/theme.h +++ b/include/wx/univ/theme.h @@ -27,7 +27,7 @@ class WXDLLIMPEXP_FWD_CORE wxInputHandler; class WXDLLIMPEXP_FWD_CORE wxRenderer; struct WXDLLIMPEXP_FWD_CORE wxThemeInfo; -class WXDLLEXPORT wxTheme +class WXDLLIMPEXP_CORE wxTheme { public: // static methods @@ -83,7 +83,7 @@ private: // will be left to the original theme // ---------------------------------------------------------------------------- -class wxDelegateTheme : public wxTheme +class WXDLLIMPEXP_CORE wxDelegateTheme : public wxTheme { public: wxDelegateTheme(const wxString& theme); @@ -108,7 +108,7 @@ protected: // dynamic theme creation helpers // ---------------------------------------------------------------------------- -struct WXDLLEXPORT wxThemeInfo +struct WXDLLIMPEXP_CORE wxThemeInfo { typedef wxTheme *(*Constructor)(); @@ -137,7 +137,7 @@ struct WXDLLEXPORT wxThemeInfo WX_USE_THEME_IMPL(themename) #define WX_USE_THEME_IMPL(themename) \ - extern WXDLLEXPORT_DATA(bool) wxThemeUse##themename; \ + extern WXDLLIMPEXP_DATA_CORE(bool) wxThemeUse##themename; \ static struct wxThemeUserFor##themename \ { \ wxThemeUserFor##themename() { wxThemeUse##themename = true; } \ @@ -153,7 +153,7 @@ struct WXDLLEXPORT wxThemeInfo // and this one must be inserted in the source file #define WX_IMPLEMENT_THEME(classname, themename, themedesc) \ - WXDLLEXPORT_DATA(bool) wxThemeUse##themename = true; \ + WXDLLIMPEXP_DATA_CORE(bool) wxThemeUse##themename = true; \ wxTheme *wxCtorFor##themename() { return new classname; } \ wxThemeInfo classname::ms_info##themename(wxCtorFor##themename, \ wxT( #themename ), themedesc)