Remove wxUSE_UNICODE checks as they're always true now
Also remove all code guarded by "#if !wxUSE_UNICODE".
This commit is contained in:
parent
5c49448c75
commit
4519d8e08a
195 changed files with 400 additions and 3509 deletions
|
|
@ -191,11 +191,7 @@ void XLocaleTestCase::TestStdlibFunctionsWith(const wxXLocale& loc)
|
|||
// NOTE: here go the checks which must pass under _any_ locale "loc";
|
||||
// checks for specific locales are in TestStdlibFunctions()
|
||||
|
||||
#if wxUSE_UNICODE
|
||||
wchar_t* endptr;
|
||||
#else
|
||||
char* endptr;
|
||||
#endif
|
||||
|
||||
// strtod (don't use decimal separator as it's locale-specific)
|
||||
CPPUNIT_ASSERT_EQUAL( 0.0, wxStrtod_l(wxT("0"), nullptr, loc) );
|
||||
|
|
@ -267,11 +263,7 @@ void XLocaleTestCase::TestStdlibFunctions()
|
|||
{
|
||||
TestStdlibFunctionsWith(wxCLocale);
|
||||
|
||||
#if wxUSE_UNICODE
|
||||
wchar_t* endptr;
|
||||
#else
|
||||
char* endptr;
|
||||
#endif
|
||||
|
||||
// strtod checks specific for C locale
|
||||
endptr = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue