Avoid warnings from gtk.h in the widgets sample
Ignore -Wparentheses given by g++ 8 for some GTK+ 3 versions (e.g. 3.22.30 currently in Debian Sid).
This commit is contained in:
@@ -143,7 +143,10 @@ protected:
|
||||
|
||||
#elif defined(__WXGTK__)
|
||||
|
||||
// Avoid a bunch of warnings from gtk.h for some GTK+ 3 versions.
|
||||
wxGCC_WARNING_SUPPRESS(parentheses)
|
||||
#include <gtk/gtk.h>
|
||||
wxGCC_WARNING_RESTORE(parentheses)
|
||||
|
||||
class NativeWindow : public wxNativeWindow
|
||||
{
|
||||
|
Reference in New Issue
Block a user