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:
parent
80ba460b1f
commit
589e043358
@ -14,6 +14,9 @@
|
|||||||
|
|
||||||
#include <QtOpenGL/QGLWidget>
|
#include <QtOpenGL/QGLWidget>
|
||||||
|
|
||||||
|
#warning "OpenGL support is not implemented in wxQt"
|
||||||
|
wxGCC_WARNING_SUPPRESS(unused-parameter)
|
||||||
|
|
||||||
class wxQtGLWidget : public wxQtEventSignalHandler< QGLWidget, wxGLCanvas >
|
class wxQtGLWidget : public wxQtEventSignalHandler< QGLWidget, wxGLCanvas >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user