X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/442b35b53bf95f5c6c003ea9ddbefd17adbc2a00..594f0f5bf1355fb8d58f403d3ebacc1c1767c429:/include/wx/univ/theme.h diff --git a/include/wx/univ/theme.h b/include/wx/univ/theme.h index c60cd4aa19..e9a05fe408 100644 --- a/include/wx/univ/theme.h +++ b/include/wx/univ/theme.h @@ -69,8 +69,7 @@ private: // the current theme static wxTheme *ms_theme; - - friend wxThemeInfo; + friend struct WXDLLEXPORT wxThemeInfo; }; // ---------------------------------------------------------------------------- @@ -121,7 +120,7 @@ struct WXDLLEXPORT wxThemeInfo bool wxThemeUse##themename = TRUE; \ wxTheme *wxCtorFor##themename() { return new classname; } \ wxThemeInfo classname::ms_info##themename(wxCtorFor##themename, \ - #themename, themedesc) + wxT( #themename ), themedesc) #endif // _WX_UNIV_THEME_H_