]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/glcanvas.h
Use correct visual attributes for wxSpinCtrl.
[wxWidgets.git] / include / wx / glcanvas.h
index 4722a99a9483ae9b6b3effd7288e4b719c576865..9bd0035457a758ace1003905d0c69115a5cebe78 100644 (file)
@@ -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
     //