(svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of blue)
authordarkvater
Mon, 03 Jan 2005 22:04:34 +0000
changeset 876 91cc529927c1
parent 875 d846e677a4c1
child 877 ce8cb2c09578
(svn r1357) -Fix: Disabled dropdown menu options are gray again (instead of blue)
widget.c
--- a/widget.c	Mon Jan 03 21:51:24 2005 +0000
+++ b/widget.c	Mon Jan 03 22:04:34 2005 +0000
@@ -443,7 +443,7 @@
 static byte _dropdown_var1;
 static byte _dropdown_var2;
 
-static const Widget _dropdown_menu_widgets[] = {
+static Widget _dropdown_menu_widgets[] = {
 {     WWT_IMGBTN,   RESIZE_NONE,     0,     0, 0,     0, 0, 0x0, STR_NULL},
 {   WIDGETS_END},
 };
@@ -617,6 +617,8 @@
 		}
 	}
 
+	_dropdown_menu_widgets[0].color = wi->color;
+
 	w2 = AllocateWindow(
 		w->left + wi[-1].left + 1,
 		w->top + wi->bottom + 2,