X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0e92205a01c7d0ca6f381cc690cb5d4fa595c9..ddc4214a4f290e2653a49d921945a416a357fcc2:/include/wx/glcanvas.h diff --git a/include/wx/glcanvas.h b/include/wx/glcanvas.h index 4722a99a94..9bd0035457 100644 --- a/include/wx/glcanvas.h +++ b/include/wx/glcanvas.h @@ -52,7 +52,7 @@ enum WX_GL_SAMPLES // 4 for 2x2 antialising supersampling on most graphics cards }; -#define wxGLCanvasName _T("GLCanvas") +#define wxGLCanvasName wxT("GLCanvas") // ---------------------------------------------------------------------------- // wxGLContextBase: OpenGL rendering context @@ -118,10 +118,11 @@ public: // miscellaneous helper functions // ------------------------------ +#ifndef wxHAS_OPENGL_ES // call glcolor() for the colour with the given name, return false if // colour not found bool SetColour(const wxString& colour); - +#endif // return true if the extension with given name is supported //