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:
@@ -1839,7 +1839,7 @@ wxArrayString wxResourceTranslationsLoader::GetAvailableTranslations(const wxStr
|
|||||||
data.prefix.MakeLower(); // resource names are case insensitive
|
data.prefix.MakeLower(); // resource names are case insensitive
|
||||||
|
|
||||||
if ( !EnumResourceNames(GetModule(),
|
if ( !EnumResourceNames(GetModule(),
|
||||||
GetResourceType(),
|
GetResourceType().t_str(),
|
||||||
EnumTranslations,
|
EnumTranslations,
|
||||||
reinterpret_cast<LONG_PTR>(&data)) )
|
reinterpret_cast<LONG_PTR>(&data)) )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user