diff --git a/src/x11/glcanvas.cpp b/src/x11/glcanvas.cpp index cac1674d9f..2af81c1626 100644 --- a/src/x11/glcanvas.cpp +++ b/src/x11/glcanvas.cpp @@ -18,6 +18,8 @@ #if wxUSE_GLCANVAS +#error Sorry, wxGLCanvas does not work yet with wxX11 + #include "wx/glcanvas.h" #include "wx/utils.h" #include "wx/app.h"