From a5b03ea23c5f2c9f8f048ba0f4e391a9b53f728c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 9 Nov 2019 12:07:07 -0800 Subject: [PATCH] Suppress -Wdeprecated-declarations warnings from GTK2 headers GLib has deprecated some things used by GTK2 --- include/wx/gtk/private/wrapgtk.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/gtk/private/wrapgtk.h b/include/wx/gtk/private/wrapgtk.h index 186e71ce11..58673881eb 100644 --- a/include/wx/gtk/private/wrapgtk.h +++ b/include/wx/gtk/private/wrapgtk.h @@ -10,9 +10,11 @@ #ifndef _WX_GTK_PRIVATE_WRAPGTK_H_ #define _WX_GTK_PRIVATE_WRAPGTK_H_ +wxGCC_WARNING_SUPPRESS(deprecated-declarations) wxGCC_WARNING_SUPPRESS(parentheses) #include wxGCC_WARNING_RESTORE(parentheses) +wxGCC_WARNING_RESTORE(deprecated-declarations) #include "wx/gtk/private/gtk2-compat.h"