main_gui.c
changeset 168 79f9ed5b23e6
parent 152 c3964b43943e
child 176 84990c4b9212
equal deleted inserted replaced
167:a38a34da7282 168:79f9ed5b23e6
   736 		SetWindowDirty(w);
   736 		SetWindowDirty(w);
   737 	}
   737 	}
   738 
   738 
   739 	// routine to disable/enable the zoom buttons. Didn't know where to place these otherwise
   739 	// routine to disable/enable the zoom buttons. Didn't know where to place these otherwise
   740 	{
   740 	{
   741 		Window * wt;
   741 		Window *wt = NULL;
   742 		switch (w->window_class) {
   742 		switch (w->window_class) {
   743 		case WC_MAIN_WINDOW:
   743 		case WC_MAIN_WINDOW:
   744 			wt = FindWindowById(WC_MAIN_TOOLBAR, 0);
   744 			wt = FindWindowById(WC_MAIN_TOOLBAR, 0);
   745 			break;
   745 			break;
   746 		case WC_EXTRA_VIEW_PORT:
   746 		case WC_EXTRA_VIEW_PORT: