]> git.saurik.com Git - wxWidgets.git/commitdiff
fix const to normal warning
authorRyan Norton <wxprojects@comcast.net>
Fri, 1 Oct 2004 12:40:59 +0000 (12:40 +0000)
committerRyan Norton <wxprojects@comcast.net>
Fri, 1 Oct 2004 12:40:59 +0000 (12:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/dc.mm

index 3358de935e0bb6d77aa2b43445d9f0861b04553c..0c80e867ad06f3695df3513fa065e702f5ec8c32 100644 (file)
@@ -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);