set WXWIN_COMPATIBILITY_2_2 to 1 by default

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-02-17 22:59:27 +00:00
parent 0b06ac1f24
commit 0c9a1c3279
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -140,7 +140,7 @@ ac_help="$ac_help
ac_help="$ac_help
--enable-compat20 enable wxWindows 2.0 compatibility"
ac_help="$ac_help
--enable-compat22 enable wxWindows 2.2 compatibility"
--disable-compat22 disable wxWindows 2.2 compatibility"
ac_help="$ac_help
--enable-intl use internationalization system"
ac_help="$ac_help
@ -17939,7 +17939,7 @@ EOF
WXWIN_COMPATIBILITY_2_2="yes"
fi
if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
cat >> confdefs.h <<\EOF
#define WXWIN_COMPATIBILITY_2_2 1
EOF

View File

@ -767,7 +767,7 @@ WX_ARG_ENABLE(permissive, [ --enable-permissive compile code disregardin
WX_ARG_ENABLE(no_deps, [ --enable-no_deps create code without dependency information], wxUSE_NO_DEPS)
WX_ARG_ENABLE(compat20, [ --enable-compat20 enable wxWindows 2.0 compatibility], WXWIN_COMPATIBILITY_2)
WX_ARG_ENABLE(compat22, [ --enable-compat22 enable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2)
WX_ARG_ENABLE(compat22, [ --disable-compat22 disable wxWindows 2.2 compatibility], WXWIN_COMPATIBILITY_2_2)
dnl ---------------------------------------------------------------------------
dnl (small) optional non GUI classes
@ -3417,7 +3417,7 @@ if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
WXWIN_COMPATIBILITY_2_2="yes"
fi
if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
AC_DEFINE(WXWIN_COMPATIBILITY_2_2)
fi