Index: Common/vtkSetGet.h
===================================================================
RCS file: /cvsroot/VTK/VTK/Common/vtkSetGet.h,v
retrieving revision 1.141
diff -u -r1.141 vtkSetGet.h
--- Common/vtkSetGet.h	4 Mar 2008 17:58:34 -0000	1.141
+++ Common/vtkSetGet.h	14 Jun 2008 21:41:18 -0000
@@ -202,6 +202,13 @@
   vtkDebugMacro(<< this->GetClassName() << " (" << this                 \
                 << "): returning " #name " address " << this->name );   \
   return this->name;                                                    \
+  }                                                                     \
+virtual const type *Get##name () const                                  \
+  {                                                                     \
+  vtkDebugMacro(<< "constant " << this->GetClassName()                  \
+                << " (" << this << "): returning " #name " address "    \
+                << this->name);                                         \
+  return this->name;                                                    \
   }
 
 //
Index: Common/vtkObject.h
===================================================================
RCS file: /cvsroot/VTK/VTK/Common/vtkObject.h,v
retrieving revision 1.103
diff -u -r1.103 vtkObject.h
--- Common/vtkObject.h	7 Feb 2008 16:52:22 -0000	1.103
+++ Common/vtkObject.h	14 Jun 2008 21:41:18 -0000
@@ -71,7 +71,7 @@
   
   // Description:
   // Get the value of the debug flag.
-  unsigned char GetDebug();
+  unsigned char GetDebug() const;
   
   // Description:
   // Set the value of the debug flag. A non-zero value turns debugging on.
