From 10c5f652b9604accb5981b59515d93c64df63f2c Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Fri, 1 Oct 2004 12:40:59 +0000 Subject: [PATCH] fix const to normal warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/dc.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.0