autoconf and bakefile support for GTK+4

Add autoconf and bakefile support for detecting and using GTK+4, similar
to how GTK+3 is detected and used.

GTK+3 is checked for first before GTK+4, this can be overridden in
`./configure` using `--with-gtk=4`.

With GTK+4 the `__WXGTK4__` `#define` is also set in `setup.h.in`.

This commit does not regenerate any files.
This commit is contained in:
Rafael Kitover
2017-12-11 16:51:48 -08:00
committed by paulcor
parent ff96ebb616
commit 22b0b4dda7
6 changed files with 256 additions and 17 deletions

View File

@@ -68,6 +68,9 @@
/* Define this if your version of GTK+ is >= 3.0 */
#undef __WXGTK3__
/* Define this if your version of GTK+ is >= 3.90.0 */
#undef __WXGTK4__
/* Define this if you want to use GPE features */
#undef __WXGPE__