src/transparency_gui.cpp
changeset 9116 f2491d3c321b
parent 9111 48ce04029fe4
child 9143 029e126e3439
--- a/src/transparency_gui.cpp	Tue May 06 21:28:30 2008 +0000
+++ b/src/transparency_gui.cpp	Tue May 06 22:08:18 2008 +0000
@@ -66,7 +66,7 @@
 				if (_ctrl_pressed) {
 					/* toggle the bit of the transparencies lock variable */
 					ToggleTransparencyLock((TransparencyOption)(e->we.click.widget - TTW_WIDGET_SIGNS));
-					SetWindowDirty(w);
+					w->SetDirty();
 				} else {
 					/* toggle the bit of the transparencies variable and play a sound */
 					ToggleTransparency((TransparencyOption)(e->we.click.widget - TTW_WIDGET_SIGNS));