X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/065e208ec09e3d08d51d9604497f92f53c210f93..890976b89fe8d308c048f52e1ca0df287c8259a6:/src/cocoa/dc.mm?ds=sidebyside diff --git a/src/cocoa/dc.mm b/src/cocoa/dc.mm index 3358de935e..0c80e867ad 100644 --- a/src/cocoa/dc.mm +++ b/src/cocoa/dc.mm @@ -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);