X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15b239c0eb73e1b9b0dad29ced9c7435122b33d4..8c36c49496660f0779584c6a318c7416c519f84d:/src/common/glcmn.cpp?ds=sidebyside diff --git a/src/common/glcmn.cpp b/src/common/glcmn.cpp index faa42827c1..0d85eab14c 100644 --- a/src/common/glcmn.cpp +++ b/src/common/glcmn.cpp @@ -62,7 +62,7 @@ void wxGLCanvasBase::SetCurrent(const wxGLContext& context) const context.SetCurrent(*wx_static_cast(const wxGLCanvas *, this)); } -bool wxGLCanvasBase::SetColour(const wxChar *colour) +bool wxGLCanvasBase::SetColour(const wxString& colour) { wxColour col = wxTheColourDatabase->Find(colour); if ( !col.Ok() )