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:
@@ -48,13 +48,11 @@
|
|||||||
#endif
|
#endif
|
||||||
GdkWindow* wxGetTopLevelGDK();
|
GdkWindow* wxGetTopLevelGDK();
|
||||||
GtkWidget* wxGetTopLevelGTK();
|
GtkWidget* wxGetTopLevelGTK();
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef GTK_CHECK_VERSION
|
|
||||||
#if GTK_CHECK_VERSION(3,4,0)
|
#if GTK_CHECK_VERSION(3,4,0)
|
||||||
#define wxHAS_GETKEYSTATE_GTK
|
#define wxHAS_GETKEYSTATE_GTK
|
||||||
#endif //GTK+ 3.4
|
#endif //GTK+ 3.4
|
||||||
#endif
|
#endif // GTK
|
||||||
|
|
||||||
// Only X11 backend is supported for wxGTK here (GTK < 2 has no others)
|
// Only X11 backend is supported for wxGTK here (GTK < 2 has no others)
|
||||||
#if !defined(__WXGTK__) || \
|
#if !defined(__WXGTK__) || \
|
||||||
|
Reference in New Issue
Block a user