add wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and extended patch 1874287)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -664,6 +664,7 @@ dnl optional non GUI features
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
WX_ARG_FEATURE(intl, [ --enable-intl use internationalization system], wxUSE_INTL)
|
||||
WX_ARG_FEATURE(xlocale, [ --enable-xlocale use x-locale support (requires wxLocale)], wxUSE_XLOCALE)
|
||||
WX_ARG_FEATURE(config, [ --enable-config use wxConfig (and derived) classes], wxUSE_CONFIG)
|
||||
|
||||
WX_ARG_FEATURE(protocols, [ --enable-protocols use wxProtocol and derived classes], wxUSE_PROTOCOL)
|
||||
@@ -5559,6 +5560,13 @@ if test "$wxUSE_INTL" = "yes" ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$wxUSE_XLOCALE" == "yes" ; then
|
||||
AC_DEFINE(wxUSE_XLOCALE)
|
||||
AC_CHECK_TYPES(locale_t,,,
|
||||
[#include <xlocale.h>
|
||||
#include <locale.h>])
|
||||
fi
|
||||
|
||||
if test "$wxUSE_LOG" = "yes"; then
|
||||
AC_DEFINE(wxUSE_LOG)
|
||||
|
||||
|
Reference in New Issue
Block a user