Include gdk/gdkkeysyms-compat.h.

GTK+ 2.22 changed GDK_* keysym constants to GDK_KEY_* and introduced a new header for the old names. This header must be explicitly included in GTK+ 3, so do it for now. In the long run, we should migrate to the new names.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2011-03-06 18:22:23 +00:00
parent 7dbda71e4b
commit 14b44999eb
3 changed files with 14 additions and 1 deletions

View File

@@ -19,7 +19,11 @@
#endif
#include "wx/gtk/private.h"
#include <gdk/gdkkeysyms.h>
#if GTK_CHECK_VERSION(3,0,0)
#include <gdk/gdkkeysyms-compat.h>
#endif
//-----------------------------------------------------------------------------
// wxGTKRadioButtonInfo