X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea11bf3abcec34e31b9919a2e222e61f82643830..297e2532b1f705be36d0116e97e88846e0310bf7:/configure diff --git a/configure b/configure index 41ff05c2e6..c5ac0eb5bf 100755 --- a/configure +++ b/configure @@ -1873,6 +1873,7 @@ Optional Features: --enable-toolbook use wxToolbook class --enable-treebook use wxTreebook class --enable-treectrl use wxTreeCtrl class + --enable-treelist use wxTreeListCtrl class --enable-commondlg use all common dialogs --enable-aboutdlg use wxAboutBox --enable-choicedlg use wxChoiceDialog @@ -9910,6 +9911,7 @@ if test "$wxUSE_CONTROLS" = "no"; then DEFAULT_wxUSE_TOOLTIPS=no DEFAULT_wxUSE_TREEBOOK=no DEFAULT_wxUSE_TREECTRL=no + DEFAULT_wxUSE_TREELISTCTRL=no fi @@ -12862,6 +12864,50 @@ fi 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}-treelist" >&5 +echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; } + # Check whether --enable-treelist was given. +if test "${enable_treelist+set}" = set; then + enableval=$enable_treelist; + if test "$enableval" = yes; then + wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes' + else + wx_cv_use_treelist='wxUSE_TREELISTCTRL=no' + fi + +else + + wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}" + +fi + + + eval "$wx_cv_use_treelist" + + if test x"$enablestring" = xdisable; then + if test $wxUSE_TREELISTCTRL = no; then + result=yes + else + result=no + fi + else + result=$wxUSE_TREELISTCTRL + fi + + { echo "$as_me:$LINENO: result: $result" >&5 +echo "${ECHO_T}$result" >&6; } + + enablestring= @@ -47837,6 +47883,14 @@ echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled wit fi fi +if test "$wxUSE_TREECTRL" = "yes"; then + cat >>confdefs.h <<\_ACEOF +#define wxUSE_TREELISTCTRL 1 +_ACEOF + + USES_CONTROLS=1 +fi + if test "$wxUSE_POPUPWIN" = "yes"; then if test "$wxUSE_OLD_COCOA" = 1 ; then { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5