X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c39d2e0a3822e695efdfb2ead77a09defd6ed8c1..01b5ad3b500627ae3ebadc755f47c816a859e6bb:/include/wx/glcanvas.h diff --git a/include/wx/glcanvas.h b/include/wx/glcanvas.h index 1d02f86652..6ead07f031 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 // @@ -191,7 +192,7 @@ public: #elif defined(__WXGTK__) #include "wx/gtk1/glcanvas.h" #elif defined(__WXMAC__) - #include "wx/mac/glcanvas.h" + #include "wx/osx/glcanvas.h" #elif defined(__WXCOCOA__) #include "wx/cocoa/glcanvas.h" #else