diff --git a/include/wx/univ/theme.h b/include/wx/univ/theme.h index 0c571dd95b..e9a05fe408 100644 --- a/include/wx/univ/theme.h +++ b/include/wx/univ/theme.h @@ -120,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_ diff --git a/src/msw/helpbest.cpp b/src/msw/helpbest.cpp index 8de443a243..ec408ee30e 100644 --- a/src/msw/helpbest.cpp +++ b/src/msw/helpbest.cpp @@ -92,7 +92,7 @@ wxString wxBestHelpController::GetValidFilename( const wxString& filename ) cons break; default: // we CAN'T get here - wxFAIL_MSG( "wxBestHelpController: Must call Initialize, first!" ); + wxFAIL_MSG( wxT("wxBestHelpController: Must call Initialize, first!") ); return wxEmptyString; break; }