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

@ -119,6 +119,11 @@
#cmakedefine01 wxUSE_REPRODUCIBLE_BUILD
#cmakedefine01 wxUSE_UNICODE_UTF8
#cmakedefine01 wxUSE_UTF8_LOCALE_ONLY
#cmakedefine01 wxUSE_ON_FATAL_EXCEPTION
@ -591,9 +596,6 @@
#cmakedefine01 wxUSE_SELECT_DISPATCHER
#cmakedefine01 wxUSE_EPOLL_DISPATCHER
#cmakedefine01 wxUSE_UNICODE_UTF8
#cmakedefine01 wxUSE_UTF8_LOCALE_ONLY
/*
Use GStreamer for Unix.