added WXWIN_COMPATIBILITY_2_8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3087eaea04
commit
abb6edd197
58
configure
vendored
58
configure
vendored
@ -1626,7 +1626,8 @@ Optional Features:
|
||||
--disable-vararg_macros don't use vararg macros, even if they are supported
|
||||
--enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
|
||||
--enable-compat24 enable wxWidgets 2.4 compatibility
|
||||
--disable-compat26 disable wxWidgets 2.6 compatibility
|
||||
--enable-compat26 enable wxWidgets 2.6 compatibility
|
||||
--disable-compat28 disable wxWidgets 2.8 compatibility
|
||||
--disable-rpath disable use of rpath for uninstalled builds
|
||||
--enable-intl use internationalization system
|
||||
--enable-config use wxConfig (and derived) classes
|
||||
@ -5230,7 +5231,7 @@ echo "${ECHO_T}no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
enablestring=disable
|
||||
enablestring=enable
|
||||
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
|
||||
echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
|
||||
no_cache=0
|
||||
@ -5271,6 +5272,47 @@ echo "${ECHO_T}no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
enablestring=disable
|
||||
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
|
||||
echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
|
||||
no_cache=0
|
||||
# Check whether --enable-compat28 was given.
|
||||
if test "${enable_compat28+set}" = set; then
|
||||
enableval=$enable_compat28;
|
||||
if test "$enableval" = yes; then
|
||||
ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
|
||||
else
|
||||
ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
|
||||
if test "x$LINE" != x ; then
|
||||
eval "DEFAULT_$LINE"
|
||||
else
|
||||
no_cache=1
|
||||
fi
|
||||
|
||||
ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
|
||||
|
||||
fi
|
||||
|
||||
|
||||
eval "$ac_cv_use_compat28"
|
||||
if test "$no_cache" != 1; then
|
||||
echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
|
||||
fi
|
||||
|
||||
if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
|
||||
{ echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6; }
|
||||
else
|
||||
{ echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
|
||||
enablestring=
|
||||
{ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
|
||||
@ -47899,11 +47941,20 @@ _ACEOF
|
||||
WXWIN_COMPATIBILITY_2_6="yes"
|
||||
fi
|
||||
|
||||
if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
|
||||
if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
_ACEOF
|
||||
|
||||
|
||||
WXWIN_COMPATIBILITY_2_8="yes"
|
||||
fi
|
||||
|
||||
if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
|
||||
@ -59152,6 +59203,7 @@ echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:
|
||||
echo " What level of wxWidgets compatibility should be enabled?"
|
||||
echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
|
||||
echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
|
||||
echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
|
||||
|
||||
echo " Which libraries should wxWidgets use?"
|
||||
echo " jpeg ${wxUSE_LIBJPEG-none}"
|
||||
|
12
configure.in
12
configure.in
@ -938,7 +938,8 @@ WX_ARG_ENABLE(vararg_macros, [ --disable-vararg_macros don't use vararg macros,
|
||||
WX_ARG_ENABLE_PARAM(universal_binary, [[ --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)]], wxUSE_UNIVERSAL_BINARY)
|
||||
|
||||
WX_ARG_ENABLE(compat24, [ --enable-compat24 enable wxWidgets 2.4 compatibility], WXWIN_COMPATIBILITY_2_4, enable)
|
||||
WX_ARG_ENABLE(compat26, [ --disable-compat26 disable wxWidgets 2.6 compatibility], WXWIN_COMPATIBILITY_2_6, disable)
|
||||
WX_ARG_ENABLE(compat26, [ --enable-compat26 enable wxWidgets 2.6 compatibility], WXWIN_COMPATIBILITY_2_6, enable)
|
||||
WX_ARG_ENABLE(compat28, [ --disable-compat28 disable wxWidgets 2.8 compatibility], WXWIN_COMPATIBILITY_2_8, disable)
|
||||
|
||||
WX_ARG_ENABLE(rpath, [ --disable-rpath disable use of rpath for uninstalled builds], wxUSE_RPATH)
|
||||
|
||||
@ -5557,8 +5558,14 @@ if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
|
||||
WXWIN_COMPATIBILITY_2_6="yes"
|
||||
fi
|
||||
|
||||
if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
|
||||
if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
|
||||
AC_DEFINE(WXWIN_COMPATIBILITY_2_6)
|
||||
|
||||
WXWIN_COMPATIBILITY_2_8="yes"
|
||||
fi
|
||||
|
||||
if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
|
||||
AC_DEFINE(WXWIN_COMPATIBILITY_2_8)
|
||||
fi
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
@ -8127,6 +8134,7 @@ echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:
|
||||
echo " What level of wxWidgets compatibility should be enabled?"
|
||||
echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
|
||||
echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
|
||||
echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
|
||||
|
||||
echo " Which libraries should wxWidgets use?"
|
||||
echo " jpeg ${wxUSE_LIBJPEG-none}"
|
||||
|
@ -44,7 +44,17 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
// This setting determines the compatibility with 2.8 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
// change to 0 in the next version and the deprecated functions will disappear
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
|
||||
// default system font is used for wxWindow::GetCharWidth/Height() instead of
|
||||
|
@ -43,7 +43,17 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
// This setting determines the compatibility with 2.8 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
// change to 0 in the next version and the deprecated functions will disappear
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
|
||||
// default system font is used for wxWindow::GetCharWidth/Height() instead of
|
||||
|
@ -43,7 +43,17 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
// This setting determines the compatibility with 2.8 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
// change to 0 in the next version and the deprecated functions will disappear
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
|
||||
// default system font is used for wxWindow::GetCharWidth/Height() instead of
|
||||
|
@ -43,7 +43,17 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
// This setting determines the compatibility with 2.8 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
// change to 0 in the next version and the deprecated functions will disappear
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
|
||||
// default system font is used for wxWindow::GetCharWidth/Height() instead of
|
||||
|
@ -43,7 +43,17 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
// This setting determines the compatibility with 2.8 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
// change to 0 in the next version and the deprecated functions will disappear
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
|
||||
// default system font is used for wxWindow::GetCharWidth/Height() instead of
|
||||
|
@ -43,7 +43,17 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
// This setting determines the compatibility with 2.8 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
// change to 0 in the next version and the deprecated functions will disappear
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
|
||||
// default system font is used for wxWindow::GetCharWidth/Height() instead of
|
||||
|
@ -39,7 +39,17 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
// This setting determines the compatibility with 2.8 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
// change to 0 in the next version and the deprecated functions will disappear
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
// MSW-only: Set to 0 for accurate dialog units, else 1 for old behaviour when
|
||||
// default system font is used for wxWindow::GetCharWidth/Height() instead of
|
||||
|
@ -42,7 +42,17 @@
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
// This setting determines the compatibility with 2.8 API: set it to 0 to
|
||||
// flag all cases of using deprecated functions.
|
||||
//
|
||||
// Default is 1 but please try building your code with 0 as the default will
|
||||
// change to 0 in the next version and the deprecated functions will disappear
|
||||
// in the version after it completely.
|
||||
//
|
||||
// Recommended setting: 0 (please update your code)
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
// Set to 0 for accurate dialog units, else 1 to be as per 2.1.16 and before.
|
||||
// If migrating between versions, your dialogs may seem to shrink.
|
||||
|
@ -152,6 +152,8 @@
|
||||
|
||||
#define WXWIN_COMPATIBILITY_2_6 0
|
||||
|
||||
#define WXWIN_COMPATIBILITY_2_8 0
|
||||
|
||||
#define wxDIALOG_UNIT_COMPATIBILITY 0
|
||||
|
||||
|
||||
|
@ -168,6 +168,8 @@ typedef pid_t GPid;
|
||||
|
||||
#define WXWIN_COMPATIBILITY_2_6 1
|
||||
|
||||
#define WXWIN_COMPATIBILITY_2_8 1
|
||||
|
||||
#define wxDIALOG_UNIT_COMPATIBILITY 1
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user