Define wxGTK GTK version symbols in GTK-specific setup.h.
When not using configure __WXGTKxxx__ symbols should still be defined, assume we use a recent GTK 2.x version and define all of them. Closes #14411. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1645,4 +1645,16 @@
|
|||||||
#define wxUSE_CRASHREPORT 1
|
#define wxUSE_CRASHREPORT 1
|
||||||
/* --- end MSW options --- */
|
/* --- end MSW options --- */
|
||||||
|
|
||||||
|
// GTK-specific options used when not using configure. As we can't test for the
|
||||||
|
// exact GTK version (without including GTK+ headers that we don't want to
|
||||||
|
// include from our own public headers), just assume a recent GTK 2.x.
|
||||||
|
#define __WXGTK20__
|
||||||
|
#define __WXGTK26__
|
||||||
|
#define __WXGTK210__
|
||||||
|
#define __WXGTK218__
|
||||||
|
|
||||||
|
// Alternatively, all the above symbols could be commented and this one
|
||||||
|
// uncommented if using GTK+ 3.
|
||||||
|
//#define __WXGTK30__
|
||||||
|
|
||||||
#endif // _WX_SETUP_H_
|
#endif // _WX_SETUP_H_
|
||||||
|
Reference in New Issue
Block a user