Avoid useless check for GTK_CHECK_VERSION

Just use it inside the existing check for GTK itself.

No real changes.
This commit is contained in:
Vadim Zeitlin
2021-02-28 23:53:25 +01:00
parent f6a53b59b2
commit 810b342411

View File

@@ -48,13 +48,11 @@
#endif
GdkWindow* wxGetTopLevelGDK();
GtkWidget* wxGetTopLevelGTK();
#endif
#ifdef GTK_CHECK_VERSION
#if GTK_CHECK_VERSION(3,4,0)
#define wxHAS_GETKEYSTATE_GTK
#endif //GTK+ 3.4
#endif
#endif // GTK
// Only X11 backend is supported for wxGTK here (GTK < 2 has no others)
#if !defined(__WXGTK__) || \