diff --git a/configure b/configure index 9dd85c1933..8ca8b7d679 100755 --- a/configure +++ b/configure @@ -44813,8 +44813,10 @@ _ACEOF USES_CONTROLS=1 - wxUSE_TOOLBAR_NATIVE="yes" - if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then + if test "$wxUSE_UNIVERSAL" = "yes"; then + wxUSE_TOOLBAR_NATIVE="no" + else + wxUSE_TOOLBAR_NATIVE="yes" cat >>confdefs.h <<\_ACEOF #define wxUSE_TOOLBAR_NATIVE 1 _ACEOF diff --git a/configure.in b/configure.in index 1ff734b886..4fa6060386 100644 --- a/configure.in +++ b/configure.in @@ -6607,8 +6607,10 @@ if test "$wxUSE_TOOLBAR" = "yes"; then AC_DEFINE(wxUSE_TOOLBAR) USES_CONTROLS=1 - wxUSE_TOOLBAR_NATIVE="yes" - if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then + if test "$wxUSE_UNIVERSAL" = "yes"; then + wxUSE_TOOLBAR_NATIVE="no" + else + wxUSE_TOOLBAR_NATIVE="yes" AC_DEFINE(wxUSE_TOOLBAR_NATIVE) fi