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

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@780 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2008-10-25 16:53:52 +00:00
parent b851d3a869
commit 6e0c73eae7
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()