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
This commit is contained in:
Vadim Zeitlin
2010-06-22 09:55:11 +00:00
parent 4c9ccee713
commit a49b09f5af

View File

@@ -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<LONG_PTR>(&data)) )
{