X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b62c9ad448635f62b985f89aa7b6959f143099c..3030ae493df7500fd5da7555f141c0c8a690bd8a:/contrib/src/ogl/basic.cpp?ds=inline diff --git a/contrib/src/ogl/basic.cpp b/contrib/src/ogl/basic.cpp index 1e3f4986ab..ab9c5a8334 100644 --- a/contrib/src/ogl/basic.cpp +++ b/contrib/src/ogl/basic.cpp @@ -684,12 +684,12 @@ bool wxShape::GetPerimeterPoint(double WXUNUSED(x1), double WXUNUSED(y1), return false; } -void wxShape::SetPen(wxPen *the_pen) +void wxShape::SetPen(const wxPen *the_pen) { m_pen = the_pen; } -void wxShape::SetBrush(wxBrush *the_brush) +void wxShape::SetBrush(const wxBrush *the_brush) { m_brush = the_brush; } @@ -3284,4 +3284,3 @@ wxBrush wxShape::GetBackgroundBrush() } return * g_oglWhiteBackgroundBrush; } -