Fix build with GTK+ < 2.20 due to undefined key code constants

Include gdk/gdkkeysyms.h from wx/gtk/private/gtk2-compat.h as it must be
included before it for the compatibility header to define the new names
for the key constants even when using old GTK+ versions.
This commit is contained in:
Vadim Zeitlin
2018-05-22 17:01:07 +02:00
parent c0b0562533
commit 7eef4a4549
4 changed files with 2 additions and 6 deletions

View File

@@ -19,8 +19,6 @@
#include "wx/gtk/private.h"
#include <gdk/gdkkeysyms.h>
//-----------------------------------------------------------------------------
// wxGTKRadioButtonInfo
//-----------------------------------------------------------------------------