src/news_gui.cpp
branchcpp_gui
changeset 6251 cd413fa2e252
parent 6246 2a4c2c4d66f0
child 6258 a2f86b8fd99b
--- a/src/news_gui.cpp	Tue Feb 13 23:07:54 2007 +0000
+++ b/src/news_gui.cpp	Tue Feb 13 23:49:01 2007 +0000
@@ -745,7 +745,7 @@
 		int click_state = WP(w, def_d).data_1;
 		int i, y;
 
-		if (_news_ticker_sound) LowerWindowWidget(w, 25);
+		if (_news_ticker_sound) w->LowerWidget(25);
 		w->DrawWidgets();
 
 		/* XXX - Draw the fake widgets-buttons. Can't add these to the widget-desc since
@@ -784,7 +784,7 @@
 			break;
 		case 25: /* Change ticker sound on/off */
 			_news_ticker_sound ^= 1;
-			ToggleWidgetLoweredState(w, e->we.click.widget);
+			w->ToggleWidgetLoweredState(e->we.click.widget);
 			w->InvalidateWidget(e->we.click.widget);
 			break;
 		default: { /* Clicked on the [<] .. [>] widgets */