X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b1f8b2d8b5cf55a027de02c364c2a8118e37969..843b368a065941811fe57f5cf8ed054c667e59ff:/src/cocoa/dc.mm diff --git a/src/cocoa/dc.mm b/src/cocoa/dc.mm index f5fcb1c007..0c80e867ad 100644 --- a/src/cocoa/dc.mm +++ b/src/cocoa/dc.mm @@ -6,7 +6,7 @@ // Created: 2003/04/01 // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -636,7 +636,7 @@ void wxDC::ComputeScaleAndOrigin(void) { // this is a bit artificial, but we need to force wxDC to think // the pen has changed - wxPen* pen = & GetPen(); + const wxPen* pen = & GetPen(); wxPen tempPen; m_pen = tempPen; SetPen(* pen);