diff lwlib/xlwradio.c @ 3055:6c9e392b4307

[xemacs-hg @ 2005-11-10 15:47:33 by crestani] Fix C++ build: new->new_.
author crestani
date Thu, 10 Nov 2005 15:47:33 +0000
parents 04bc9d2f42c7
children 4c038e89d563
line wrap: on
line diff
--- a/lwlib/xlwradio.c	Thu Nov 10 15:45:13 2005 +0000
+++ b/lwlib/xlwradio.c	Thu Nov 10 15:47:33 2005 +0000
@@ -218,11 +218,11 @@
 /*ARGSUSED*/
 static void
 RadioInit (Widget   request,
-	   Widget   new,
+	   Widget   new_,
 	   ArgList  UNUSED (args),
 	   Cardinal *UNUSED (num_args))
 {
-    RadioWidget rw = (RadioWidget) new;
+    RadioWidget rw = (RadioWidget) new_;
     RadioWidget rw_req = (RadioWidget) request;
     Dimension	w,h ;
 
@@ -234,7 +234,7 @@
 	rw->core.width = w ;
       if( rw_req->core.height == 0 )
 	rw->core.height = h ;
-      rw->core.widget_class->core_class.resize(new) ;
+      rw->core.widget_class->core_class.resize(new_) ;
     }
 }
 
@@ -345,12 +345,12 @@
 static Boolean
 RadioSetValues (Widget   current,
 		Widget   UNUSED (request),
-		Widget   new,
+		Widget   new_,
 		ArgList  UNUSED (args),
 		Cardinal *UNUSED (num_args))
 {
     RadioWidget oldrw = (RadioWidget) current;
-    RadioWidget newrw = (RadioWidget) new;
+    RadioWidget newrw = (RadioWidget) new_;
 
     /* Need to find out if the size of the widget changed.  Set new size
      * if it did and resize is permitted.  One way to determine of the
@@ -373,7 +373,7 @@
      */
     if (newrw->label.label_x != oldrw->label.label_x)
     {
-      RadioResize (new);
+      RadioResize (new_);
     }
     return FALSE ;
 }