Add wxUSE_UNICODE_UTF8 to wx/setup.h

This option can also be used under MSW, so move it to the common setup.h
instead of having it in setup.h.in only.

Also do the same thing for wxUSE_UTF8_LOCALE_ONLY, even if it's less
clear if this one is really useful in non-Unix environment.
This commit is contained in:
Vadim Zeitlin 2023-03-05 16:23:50 +01:00
parent 0f0ac39800
commit 0677d493df
9 changed files with 302 additions and 9 deletions

View file

@ -169,6 +169,10 @@ typedef pid_t GPid;
#define wxUSE_REPRODUCIBLE_BUILD 1
#define wxUSE_UNICODE_UTF8 0
#define wxUSE_UTF8_LOCALE_ONLY 0
#define wxUSE_EXCEPTIONS 1
#define wxUSE_EXTENDED_RTTI 0
@ -652,9 +656,6 @@ typedef pid_t GPid;
#define wxUSE_SELECT_DISPATCHER 1
#define wxUSE_EPOLL_DISPATCHER 0
#define wxUSE_UNICODE_UTF8 0
#define wxUSE_UTF8_LOCALE_ONLY 0
/*
Use GStreamer for Unix.