Commit ee5cf38b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Even WxWidgets is entitled to const blessing

parent 942cd8fe
......@@ -97,7 +97,7 @@ static inline char *wxFromLocale (const wxString& string)
#if defined( wxUSE_UNICODE )
# if defined( WIN32 )
return FromWide ((wchar_t *)string.c_str());
return FromWide ((const wchar_t *)string.c_str());
# define wxLocaleFree free
# else
return FromLocale (string.mb_str());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment