Fix wxGetKeyState() compilation with wxGTK 1
This was broken back in a73251a80d
which
added check for GDK_WINDOWING_X11 which is not defined by GTK+ 1.
See #14469.
This commit is contained in:
@@ -50,8 +50,9 @@ GdkWindow* wxGetTopLevelGDK();
|
|||||||
GtkWidget* wxGetTopLevelGTK();
|
GtkWidget* wxGetTopLevelGTK();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Only X11 backend is supported for wxGTK here
|
// Only X11 backend is supported for wxGTK here (GTK < 2 has no others)
|
||||||
#if !defined(__WXGTK__) || defined(GDK_WINDOWING_X11)
|
#if !defined(__WXGTK__) || \
|
||||||
|
(!defined(__WXGTK20__) || defined(GDK_WINDOWING_X11))
|
||||||
|
|
||||||
// Various X11 Atoms used in this file:
|
// Various X11 Atoms used in this file:
|
||||||
static Atom _NET_WM_STATE = 0;
|
static Atom _NET_WM_STATE = 0;
|
||||||
|
Reference in New Issue
Block a user