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:
commit
e307945170
41 changed files with 1978 additions and 655 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue