added configure option for wxUSE_AUTOID_MANAGEMENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1e9a3d4b67
commit
75a29ef15c
51
configure
vendored
51
configure
vendored
@ -1850,6 +1850,7 @@ Optional Features:
|
|||||||
--enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
|
--enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
|
||||||
--enable-uxtheme enable support for Windows XP themed look (Win32 only)
|
--enable-uxtheme enable support for Windows XP themed look (Win32 only)
|
||||||
--enable-wxdib use wxDIB class (Win32 only)
|
--enable-wxdib use wxDIB class (Win32 only)
|
||||||
|
--enable-autoidman use automatic ids management
|
||||||
--disable-largefile omit support for large files
|
--disable-largefile omit support for large files
|
||||||
--disable-gtktest do not try to compile and run a test GTK+ program
|
--disable-gtktest do not try to compile and run a test GTK+ program
|
||||||
--disable-gtktest Do not try to compile and run a test GTK program
|
--disable-gtktest Do not try to compile and run a test GTK program
|
||||||
@ -13656,6 +13657,50 @@ fi
|
|||||||
echo "${ECHO_T}$result" >&6; }
|
echo "${ECHO_T}$result" >&6; }
|
||||||
|
|
||||||
|
|
||||||
|
enablestring=
|
||||||
|
defaultval=$wxUSE_ALL_FEATURES
|
||||||
|
if test -z "$defaultval"; then
|
||||||
|
if test x"$enablestring" = xdisable; then
|
||||||
|
defaultval=yes
|
||||||
|
else
|
||||||
|
defaultval=no
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
|
||||||
|
echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
|
||||||
|
# Check whether --enable-autoidman was given.
|
||||||
|
if test "${enable_autoidman+set}" = set; then
|
||||||
|
enableval=$enable_autoidman;
|
||||||
|
if test "$enableval" = yes; then
|
||||||
|
wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
|
||||||
|
else
|
||||||
|
wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
|
||||||
|
fi
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
eval "$wx_cv_use_autoidman"
|
||||||
|
|
||||||
|
if test x"$enablestring" = xdisable; then
|
||||||
|
if test $wxUSE_AUTOID_MANAGEMENT = yes; then
|
||||||
|
result=no
|
||||||
|
else
|
||||||
|
result=yes
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
result=$wxUSE_AUTOID_MANAGEMENT
|
||||||
|
fi
|
||||||
|
|
||||||
|
{ echo "$as_me:$LINENO: result: $result" >&5
|
||||||
|
echo "${ECHO_T}$result" >&6; }
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -45855,6 +45900,12 @@ _ACEOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$USE_WIN32" = 1 ; then
|
if test "$USE_WIN32" = 1 ; then
|
||||||
if test "$wxUSE_INICONF" = "yes"; then
|
if test "$wxUSE_INICONF" = "yes"; then
|
||||||
|
@ -917,6 +917,7 @@ WX_ARG_FEATURE(ps-in-msw, [ --enable-ps-in-msw use PS printing in wxMSW
|
|||||||
WX_ARG_FEATURE(ownerdrawn, [ --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)], wxUSE_OWNER_DRAWN)
|
WX_ARG_FEATURE(ownerdrawn, [ --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)], wxUSE_OWNER_DRAWN)
|
||||||
WX_ARG_FEATURE(uxtheme, [ --enable-uxtheme enable support for Windows XP themed look (Win32 only)], wxUSE_UXTHEME)
|
WX_ARG_FEATURE(uxtheme, [ --enable-uxtheme enable support for Windows XP themed look (Win32 only)], wxUSE_UXTHEME)
|
||||||
WX_ARG_FEATURE(wxdib, [ --enable-wxdib use wxDIB class (Win32 only)], wxUSE_DIB)
|
WX_ARG_FEATURE(wxdib, [ --enable-wxdib use wxDIB class (Win32 only)], wxUSE_DIB)
|
||||||
|
WX_ARG_FEATURE(autoidman, [ --enable-autoidman use automatic ids management], wxUSE_AUTOID_MANAGEMENT)
|
||||||
|
|
||||||
fi
|
fi
|
||||||
dnl for GUI only
|
dnl for GUI only
|
||||||
@ -6979,7 +6980,11 @@ if test "$wxUSE_MSW" = 1 ; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
dnl wxUSE_MSW = 1
|
dnl wxUSE_MSW = 1
|
||||||
|
|
||||||
|
dnl not quite MSW-only although mostly useful to disable this under MSW
|
||||||
|
if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
|
||||||
|
AC_DEFINE(wxUSE_AUTOID_MANAGEMENT)
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$USE_WIN32" = 1 ; then
|
if test "$USE_WIN32" = 1 ; then
|
||||||
if test "$wxUSE_INICONF" = "yes"; then
|
if test "$wxUSE_INICONF" = "yes"; then
|
||||||
|
@ -1037,12 +1037,21 @@ public:
|
|||||||
|
|
||||||
// conversion to/from text: all conversions from text return the pointer to
|
// conversion to/from text: all conversions from text return the pointer to
|
||||||
// the next character following the date specification (i.e. the one where
|
// the next character following the date specification (i.e. the one where
|
||||||
// the scan had to stop) or NULL on failure.
|
// the scan had to stop) or NULL on failure; for the versions returning
|
||||||
|
// iterators, end iterator is returned instead of NULL
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
|
||||||
// parse a string in RFC 822 format (found e.g. in mail headers and
|
// parse a string in RFC 822 format (found e.g. in mail headers and
|
||||||
// having the form "Wed, 10 Feb 1999 19:07:07 +0100")
|
// having the form "Wed, 10 Feb 1999 19:07:07 +0100")
|
||||||
const wxChar *ParseRfc822Date(const wxChar* date);
|
wxString::const_iterator ParseRfc822Date(const wxString& date);
|
||||||
|
const wchar_t *ParseRfc822Date(const wchar_t* date)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
const char *ParseRfc822Date(const char* date)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
// parse a date/time in the given format (see strptime(3)), fill in
|
// parse a date/time in the given format (see strptime(3)), fill in
|
||||||
// the missing (in the string) fields with the values of dateDef (by
|
// the missing (in the string) fields with the values of dateDef (by
|
||||||
// default, they will not change if they had valid values or will
|
// default, they will not change if they had valid values or will
|
||||||
|
@ -895,7 +895,11 @@
|
|||||||
// long-running programs can run into problems with ids reuse without this. On
|
// long-running programs can run into problems with ids reuse without this. On
|
||||||
// the other platforms, where the ids have the full int range, this shouldn't
|
// the other platforms, where the ids have the full int range, this shouldn't
|
||||||
// be necessary.
|
// be necessary.
|
||||||
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// common dialogs
|
// common dialogs
|
||||||
|
@ -894,7 +894,11 @@
|
|||||||
// long-running programs can run into problems with ids reuse without this. On
|
// long-running programs can run into problems with ids reuse without this. On
|
||||||
// the other platforms, where the ids have the full int range, this shouldn't
|
// the other platforms, where the ids have the full int range, this shouldn't
|
||||||
// be necessary.
|
// be necessary.
|
||||||
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// common dialogs
|
// common dialogs
|
||||||
|
@ -894,7 +894,11 @@
|
|||||||
// long-running programs can run into problems with ids reuse without this. On
|
// long-running programs can run into problems with ids reuse without this. On
|
||||||
// the other platforms, where the ids have the full int range, this shouldn't
|
// the other platforms, where the ids have the full int range, this shouldn't
|
||||||
// be necessary.
|
// be necessary.
|
||||||
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// common dialogs
|
// common dialogs
|
||||||
|
@ -894,7 +894,11 @@
|
|||||||
// long-running programs can run into problems with ids reuse without this. On
|
// long-running programs can run into problems with ids reuse without this. On
|
||||||
// the other platforms, where the ids have the full int range, this shouldn't
|
// the other platforms, where the ids have the full int range, this shouldn't
|
||||||
// be necessary.
|
// be necessary.
|
||||||
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// common dialogs
|
// common dialogs
|
||||||
|
@ -894,7 +894,11 @@
|
|||||||
// long-running programs can run into problems with ids reuse without this. On
|
// long-running programs can run into problems with ids reuse without this. On
|
||||||
// the other platforms, where the ids have the full int range, this shouldn't
|
// the other platforms, where the ids have the full int range, this shouldn't
|
||||||
// be necessary.
|
// be necessary.
|
||||||
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// common dialogs
|
// common dialogs
|
||||||
|
@ -894,7 +894,11 @@
|
|||||||
// long-running programs can run into problems with ids reuse without this. On
|
// long-running programs can run into problems with ids reuse without this. On
|
||||||
// the other platforms, where the ids have the full int range, this shouldn't
|
// the other platforms, where the ids have the full int range, this shouldn't
|
||||||
// be necessary.
|
// be necessary.
|
||||||
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// common dialogs
|
// common dialogs
|
||||||
|
@ -890,7 +890,11 @@
|
|||||||
// long-running programs can run into problems with ids reuse without this. On
|
// long-running programs can run into problems with ids reuse without this. On
|
||||||
// the other platforms, where the ids have the full int range, this shouldn't
|
// the other platforms, where the ids have the full int range, this shouldn't
|
||||||
// be necessary.
|
// be necessary.
|
||||||
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// common dialogs
|
// common dialogs
|
||||||
|
@ -409,7 +409,11 @@
|
|||||||
|
|
||||||
#define wxUSE_VALIDATORS 0
|
#define wxUSE_VALIDATORS 0
|
||||||
|
|
||||||
#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#else
|
||||||
|
#define wxUSE_AUTOID_MANAGEMENT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define wxUSE_COMMON_DIALOGS 0
|
#define wxUSE_COMMON_DIALOGS 0
|
||||||
|
Loading…
Reference in New Issue
Block a user