Unicode compilation fix: wxStrlocale() doesn't take wide strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7c37eb10fd
commit
10de049c42
@ -633,7 +633,7 @@ void StringTestCase::ToDouble()
|
|||||||
|
|
||||||
// we need to use decimal point, not comma or whatever is its value for the
|
// we need to use decimal point, not comma or whatever is its value for the
|
||||||
// current locale
|
// current locale
|
||||||
wxSetlocale(LC_ALL, _T("C"));
|
wxSetlocale(LC_ALL, "C");
|
||||||
|
|
||||||
size_t n;
|
size_t n;
|
||||||
for ( n = 0; n < WXSIZEOF(doubleData); n++ )
|
for ( n = 0; n < WXSIZEOF(doubleData); n++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user