Remove wxLOCALE_CONV_ENCODING flag.
This doesn't affect Unicode builds, only the legacy ANSI one. PO files are now always converted to the appropriate charset according to current locale. This was the default behavior for long time; not doing the conversion was always a fragile hack that didn't work well. Removing this flag simplifies wxLocale code. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -720,7 +720,7 @@ void StringTestCase::ToDouble()
|
||||
wxLocale *locale = new wxLocale;
|
||||
|
||||
// don't load default catalog, it may be unavailable:
|
||||
CPPUNIT_ASSERT( locale->Init(wxLANGUAGE_FRENCH, wxLOCALE_DONT_LOAD_DEFAULT | wxLOCALE_CONV_ENCODING) );
|
||||
CPPUNIT_ASSERT( locale->Init(wxLANGUAGE_FRENCH, wxLOCALE_DONT_LOAD_DEFAULT) );
|
||||
|
||||
static const struct ToDoubleData doubleData2[] =
|
||||
{
|
||||
|
Reference in New Issue
Block a user