diff --git a/src/common/translation.cpp b/src/common/translation.cpp index 83b6131294..23b57a056c 100644 --- a/src/common/translation.cpp +++ b/src/common/translation.cpp @@ -1839,7 +1839,7 @@ wxArrayString wxResourceTranslationsLoader::GetAvailableTranslations(const wxStr data.prefix.MakeLower(); // resource names are case insensitive if ( !EnumResourceNames(GetModule(), - GetResourceType(), + GetResourceType().t_str(), EnumTranslations, reinterpret_cast(&data)) ) {