diff --git a/configure b/configure index 7cea4dc608..c58a43c868 100755 --- a/configure +++ b/configure @@ -48026,7 +48026,7 @@ echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled wit fi fi -if test "$wxUSE_TREECTRL" = "yes"; then +if test "$wxUSE_TREELISTCTRL" = "yes"; then cat >>confdefs.h <<\_ACEOF #define wxUSE_TREELISTCTRL 1 _ACEOF diff --git a/configure.in b/configure.in index 2cd138264d..225c887197 100644 --- a/configure.in +++ b/configure.in @@ -7150,7 +7150,7 @@ if test "$wxUSE_TREECTRL" = "yes"; then fi fi -if test "$wxUSE_TREECTRL" = "yes"; then +if test "$wxUSE_TREELISTCTRL" = "yes"; then AC_DEFINE(wxUSE_TREELISTCTRL) USES_CONTROLS=1 fi