smallmap_gui.c
changeset 4709 eff35edfb653
parent 4634 897461a3e9ca
child 4719 413b21513ef7
--- a/smallmap_gui.c	Mon Oct 02 22:10:04 2006 +0000
+++ b/smallmap_gui.c	Tue Oct 03 02:08:15 2006 +0000
@@ -1010,7 +1010,7 @@
 {
 	switch (e->event) {
 	case WE_CREATE: /* Disable zoom in button */
-		w->disabled_state = (1 << 5);
+		DisableWindowWidget(w, 5);
 		break;
 
 	case WE_PAINT: