Suppress -Wdeprecated-declarations warnings from GTK2 headers

GLib has deprecated some things used by GTK2
This commit is contained in:
Paul Cornett
2019-11-09 12:07:07 -08:00
parent 6eccec3ae7
commit a5b03ea23c

View File

@@ -10,9 +10,11 @@
#ifndef _WX_GTK_PRIVATE_WRAPGTK_H_ #ifndef _WX_GTK_PRIVATE_WRAPGTK_H_
#define _WX_GTK_PRIVATE_WRAPGTK_H_ #define _WX_GTK_PRIVATE_WRAPGTK_H_
wxGCC_WARNING_SUPPRESS(deprecated-declarations)
wxGCC_WARNING_SUPPRESS(parentheses) wxGCC_WARNING_SUPPRESS(parentheses)
#include <gtk/gtk.h> #include <gtk/gtk.h>
wxGCC_WARNING_RESTORE(parentheses) wxGCC_WARNING_RESTORE(parentheses)
wxGCC_WARNING_RESTORE(deprecated-declarations)
#include "wx/gtk/private/gtk2-compat.h" #include "wx/gtk/private/gtk2-compat.h"