Disable wxUIActionSimulator in wxGTK3 if --without-xtest was given

This class can't work without XTest support with GTK+ 3, so just silently
disable it if XTest was explicitly disabled by user.
This commit is contained in:
Vadim Zeitlin 2016-06-04 22:43:21 +02:00
parent 8e76aab544
commit b5dbc0eb73
2 changed files with 7 additions and 0 deletions

2
configure vendored
View File

@ -33659,6 +33659,8 @@ $as_echo "yes" >&6; }
fi
elif test "$WXGTK3" = 1; then
wxUSE_UIACTIONSIMULATOR=no
fi
fi

View File

@ -6379,6 +6379,11 @@ if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
wxUSE_XTEST="no"
]
)
elif test "$WXGTK3" = 1; then
dnl As per above, wxUIActionSimulator can't be used in this case,
dnl but there is no need to warn, presumably the user knows what
dnl he's doing if --without-xtest was explicitly specified.
wxUSE_UIACTIONSIMULATOR=no
fi
fi