Fix wxMSW compilation in STL build after the changes of r72472,

Call t_str() to explicitly convert wxString to wxChar* as implicit conversion
is not available in STL build.

Closes #14666.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-09-18 00:03:45 +00:00
parent 81a887a895
commit f45f43cad0

View File

@@ -1950,7 +1950,7 @@ wxMsgCatalog *wxResourceTranslationsLoader::LoadCatalog(const wxString& domain,
if ( !wxLoadUserResource(&mo_data, &mo_size,
resname,
GetResourceType(),
GetResourceType().t_str(),
GetModule()) )
return NULL;