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.
This commit is contained in:
Vadim Zeitlin 2020-07-06 17:30:13 +02:00
parent 80ba460b1f
commit 589e043358

View File

@ -14,6 +14,9 @@
#include <QtOpenGL/QGLWidget>
#warning "OpenGL support is not implemented in wxQt"
wxGCC_WARNING_SUPPRESS(unused-parameter)
class wxQtGLWidget : public wxQtEventSignalHandler< QGLWidget, wxGLCanvas >
{
public: