git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45610
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
WXDLLIMPEXP_BASE wxWCharBuffer wxSetlocale_(int category, const wxChar *locale);
WXDLLIMPEXP_BASE wxWCharBuffer wxSetlocale(int category, const wxChar *locale);
#else
- WXDLLIMPEXP_BASE const wxChar *wxSetlocale(int category, const wxChar *locale);
+ WXDLLIMPEXP_BASE wxChar *wxSetlocale(int category, const wxChar *locale);
#endif // defined(wxSetlocale_)
#endif // __cplusplus
return rv;
}
#else // defined(wxSetlocale_)
-const wxChar *wxSetlocale(int category, const wxChar *locale)
+wxChar *wxSetlocale(int category, const wxChar *locale)
{
- const wxChar *rv = wxSetlocale_(category, locale);
+ wxChar *rv = wxSetlocale_(category, locale);
if ( rv )
wxUpdateLocaleIsUtf8();
return rv;