]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/glcmn.cpp
Correct signature of HitTest()
[wxWidgets.git] / src / common / glcmn.cpp
index faa42827c15ab32fad333a3aabcb8c4de9eee148..0d85eab14c8cbacac696edb84566d2e3d9f7a60c 100644 (file)
@@ -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() )