From: Ryan Norton Date: Fri, 1 Oct 2004 12:40:59 +0000 (+0000) Subject: fix const to normal warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/10c5f652b9604accb5981b59515d93c64df63f2c?ds=sidebyside fix const to normal warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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);