git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59913
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// 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
//
return context.SetCurrent(*static_cast<const wxGLCanvas *>(this));
}
+#ifndef wxHAS_OPENGL_ES
bool wxGLCanvasBase::SetColour(const wxString& colour)
{
wxColour col = wxTheColourDatabase->Find(colour);
return true;
}
+#endif
wxGLCanvasBase::~wxGLCanvasBase()
{