]> git.saurik.com Git - wxWidgets.git/commit - setup.h_vms
Test whether GTK+ is 2.18 or newer in configure.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Oct 2009 22:49:38 +0000 (22:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 14 Oct 2009 22:49:38 +0000 (22:49 +0000)
commitd85aece19960f1c09051d2bd5f54281272fde8ff
treeb3a6fee5ea02970018ffd3cf93e9679a7a199785
parentb43914a8be2258de608a7127ac43f00b65631b15
Test whether GTK+ is 2.18 or newer in configure.

We need to define __WXGTK218__ symbol in configure instead of simply checking
if we are compiled with 2.18 in wx/infobar.h because GTK_CHECK_VERSION() can't
be used when compiling user code which can't even include gtk/gtkversion.h
defining it because it doesn't necessarily use `pkg-config --cflags gtk+-2.0`
at all in its CFLAGS.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
configure
configure.in
include/wx/infobar.h
setup.h.in
setup.h_vms