X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15b239c0eb73e1b9b0dad29ced9c7435122b33d4..69659fd770f615210efac4b4fa741b3ad6223616:/src/common/glcmn.cpp 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() )