Extract wxLocaleSetter from the tests into a private header
This will allow using this class in the library code too. No real changes yet, this is a pure refactoring. This commit is best viewed using git --color-moved option.
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include "wx/txtstrm.h"
|
||||
#include "wx/mstream.h"
|
||||
|
||||
#include "wx/private/localeset.h"
|
||||
|
||||
#if defined wxHAVE_TCHAR_SUPPORT && !defined HAVE_WCHAR_H
|
||||
#define HAVE_WCHAR_H
|
||||
#endif
|
||||
@@ -1106,7 +1108,7 @@ void MBConvTestCase::LibcTests()
|
||||
// supposed to use the same CRT -- no idea why and unfortunately gdb is too
|
||||
// flaky to debug it)
|
||||
#ifdef __VISUALC__
|
||||
LocaleSetter loc("English_United States.1252");
|
||||
wxLocaleSetter loc("English_United States.1252");
|
||||
|
||||
wxMBConvLibc convLibc;
|
||||
TestCoder(
|
||||
|
Reference in New Issue
Block a user