avoid using wxNO_IMPLICIT_WXSTRING_ENCODING in utf-8-only builds

This commit is contained in:
Arrigo Marchiori
2020-04-13 09:13:21 +02:00
committed by Vadim Zeitlin
parent 40d1a3da35
commit 464aeb8f84
7 changed files with 85 additions and 72 deletions

View File

@@ -10,12 +10,19 @@
// headers
// ----------------------------------------------------------------------------
#include "testprec.h"
// Avoid pre-compiled headers at all
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#include "wx/setup.h"
#if !wxUSE_UTF8_LOCALE_ONLY
#define wxNO_IMPLICIT_WXSTRING_ENCODING
#endif
#include "testprec.h"
#include "allheaders.h"
TEST_CASE("wxNO_IMPLICIT_WXSTRING_ENCODING", "[string]")