X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/498ace9e1f08b1e177b1a883ac69d12385e805b0..bb58fa37cdee2d2b422701c0d5ffceef4d65968f:/src/x11/glcanvas.cpp 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<wxColour&>(col_); #ifdef __WXMOTIF__ col.AllocColour(GetXDisplay());