Enable/disable refresh button in MapViewer when automatic refresh is enabled.

This commit is contained in:
spacy51 2008-10-25 16:53:52 +00:00
parent 6a61496c93
commit cbff68bd78
1 changed files with 1 additions and 0 deletions

View File

@ -727,6 +727,7 @@ void MapView::OnAutoUpdate()
} else {
theApp.winRemoveUpdateListener(this);
}
(CButton*)GetDlgItem(IDC_REFRESH)->EnableWindow(autoUpdate ? FALSE : TRUE);
}
void MapView::update()