X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/univ/theme.h?ds=sidebyside diff --git a/include/wx/univ/theme.h b/include/wx/univ/theme.h index 94ba4fcfab..e9a05fe408 100644 --- a/include/wx/univ/theme.h +++ b/include/wx/univ/theme.h @@ -7,7 +7,7 @@ // Modified by: // Created: 06.08.00 // RCS-ID: $Id$ -// Copyright: (c) 2000 Vadim Zeitlin +// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows license /////////////////////////////////////////////////////////////////////////////// @@ -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_