From 589e043358c6058cb8f0cc013931f63b72cd7155 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Jul 2020 17:30:13 +0200 Subject: [PATCH] Add an explicit warning about missing OpenGL support in wxQt This is better than a bunch of warnings about unused parameters due to many wxGLCanvas methods being just empty stubs. --- src/qt/glcanvas.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qt/glcanvas.cpp b/src/qt/glcanvas.cpp index f89645c014..4cd442504c 100644 --- a/src/qt/glcanvas.cpp +++ b/src/qt/glcanvas.cpp @@ -14,6 +14,9 @@ #include +#warning "OpenGL support is not implemented in wxQt" +wxGCC_WARNING_SUPPRESS(unused-parameter) + class wxQtGLWidget : public wxQtEventSignalHandler< QGLWidget, wxGLCanvas > { public: