X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/498ace9e1f08b1e177b1a883ac69d12385e805b0..7a0a6cc8f61cb53ce1c76897489e1e363d1a1fa5:/src/x11/glcanvas.cpp?ds=sidebyside diff --git a/src/x11/glcanvas.cpp b/src/x11/glcanvas.cpp index acc31346dd..2689a7af08 100644 --- a/src/x11/glcanvas.cpp +++ b/src/x11/glcanvas.cpp @@ -84,7 +84,7 @@ Window wxGLCanvas::GetXWindow() const int wxGLCanvas::GetColourIndex(const wxColour& col_) { - wxColour& col = wx_const_cast(wxColour&, col_); + wxColour& col = const_cast(col_); #ifdef __WXMOTIF__ col.AllocColour(GetXDisplay());