diff --git a/src/qt/glcanvas.cpp b/src/qt/glcanvas.cpp index 4cd442504c..0bd3cc8931 100644 --- a/src/qt/glcanvas.cpp +++ b/src/qt/glcanvas.cpp @@ -14,7 +14,13 @@ #include -#warning "OpenGL support is not implemented in wxQt" +#if defined(__VISUALC__) + #pragma message("OpenGL support is not implemented in wxQt") +#elif defined(__BORLANDC__) + #pragma message "OpenGL support is not implemented in wxQt" +#else + #warning "OpenGL support is not implemented in wxQt" +#endif wxGCC_WARNING_SUPPRESS(unused-parameter) class wxQtGLWidget : public wxQtEventSignalHandler< QGLWidget, wxGLCanvas >