summaryrefslogtreecommitdiff
path: root/x11-toolkits/viewklass/files/patch-VkRadioGroup.C
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/viewklass/files/patch-VkRadioGroup.C')
-rw-r--r--x11-toolkits/viewklass/files/patch-VkRadioGroup.C31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-toolkits/viewklass/files/patch-VkRadioGroup.C b/x11-toolkits/viewklass/files/patch-VkRadioGroup.C
new file mode 100644
index 000000000000..0393d8c8b826
--- /dev/null
+++ b/x11-toolkits/viewklass/files/patch-VkRadioGroup.C
@@ -0,0 +1,31 @@
+--- ./VkRadioGroup.C.orig Wed Jul 23 02:25:08 2003
++++ ./VkRadioGroup.C Wed Jul 23 02:31:58 2003
+@@ -47,11 +47,15 @@
+ #include <Xm/ToggleBG.h>
+ #include <Xm/PushB.h>
+ #include <Xm/PushBG.h>
++#include <iostream>
++
++using std::cerr;
++using std::endl;
+
+ VkRadioGroup::VkRadioGroup()
+ : VkWidgetList()
+ {
+- _currentlySelected = 0;
++ //_currentlySelected = 0;
+ }
+
+ void
+@@ -77,9 +81,9 @@
+ void
+ VkRadioGroup::remove(Widget item)
+ {
+- if (*_currentlySelected == item)
++ /*if (*_currentlySelected == item)
+ _currentlySelected = 0;
+- else if (_currentlySelected > VkWidgetList::find(item))
++ else */ if (_currentlySelected > VkWidgetList::find(item))
+ _currentlySelected --;
+
+ XtRemoveCallback(item, XmNvalueChangedCallback,