diff --git a/samples/widgets/native.cpp b/samples/widgets/native.cpp index 2bf606ac46..ba2cbd6b5f 100644 --- a/samples/widgets/native.cpp +++ b/samples/widgets/native.cpp @@ -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 +wxGCC_WARNING_RESTORE(parentheses) class NativeWindow : public wxNativeWindow {