fix building with GTK+ 2.6, see #2662

This commit is contained in:
Paul Cornett
2016-02-05 23:01:38 -08:00
parent 73f2603917
commit 7867025dc6

View File

@@ -24,14 +24,9 @@
#include <gtk/gtk.h>
#include "wx/gtk/private.h"
// compatibility with older GTK+ versions:
#ifndef GTK_STOCK_FILE
#define GTK_STOCK_FILE "gtk-file"
#if !GTK_CHECK_VERSION(2,8,0)
#define GTK_STOCK_FULLSCREEN "gtk-fullscreen"
#endif
#ifndef GTK_STOCK_DIRECTORY
#define GTK_STOCK_DIRECTORY "gtk-directory"
#endif
// ----------------------------------------------------------------------------
// wxGTK2ArtProvider