Replace c_str() with t_str() in wxWinCE code.

This should work correctly even in UTF-8 build, should someone want to use it
under Windows CE.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-10-05 15:05:38 +00:00
parent 5dcfc82cca
commit 1d31e79e5d

View File

@@ -250,7 +250,7 @@ void *wxDynamicLibrary::RawGetSymbol(wxDllType handle, const wxString& name)
{ {
return (void *)::GetProcAddress(handle, return (void *)::GetProcAddress(handle,
#ifdef __WXWINCE__ #ifdef __WXWINCE__
name.c_str() name.t_str()
#else #else
name.ToAscii() name.ToAscii()
#endif // __WXWINCE__ #endif // __WXWINCE__