Merge branch 'ui-locale'
Add wxUILocale class providing functionality which can be implemented portably for all major platforms, including macOS, and doesn't force the change of the global C locale, unlike wxLocale. See https://github.com/wxWidgets/wxWidgets/pull/2464
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
#include "wx/stopwatch.h"
|
||||
#endif
|
||||
|
||||
#include "wx/private/localeset.h"
|
||||
|
||||
#include "textentrytest.h"
|
||||
#include "testableframe.h"
|
||||
#include "asserthelper.h"
|
||||
@@ -295,7 +297,7 @@ void TextCtrlTestCase::StreamInput()
|
||||
#ifndef __WXOSX__
|
||||
{
|
||||
// Ensure we use decimal point and not a comma.
|
||||
LocaleSetter setCLocale("C");
|
||||
wxCLocaleSetter setCLocale;
|
||||
|
||||
*m_text << "stringinput"
|
||||
<< 10
|
||||
|
Reference in New Issue
Block a user