From a49b09f5afab79ffb5a483ecb4be4c4abf4d3531 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 22 Jun 2010 09:55:11 +0000 Subject: [PATCH] Add an explicit t_str() to fix wxMSW compilation with wxUSE_STL=1. wxString is not implicitly convertible to TCHAR* in this case and we need to use t_str() explicitly. Closes #12169. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/translation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) ) { -- 2.50.0