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:
@@ -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__
|
||||||
|
Reference in New Issue
Block a user