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:
parent
b851d3a869
commit
6e0c73eae7
|
@ -727,6 +727,7 @@ void MapView::OnAutoUpdate()
|
||||||
} else {
|
} else {
|
||||||
theApp.winRemoveUpdateListener(this);
|
theApp.winRemoveUpdateListener(this);
|
||||||
}
|
}
|
||||||
|
(CButton*)GetDlgItem(IDC_REFRESH)->EnableWindow(autoUpdate ? FALSE : TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MapView::update()
|
void MapView::update()
|
||||||
|
|
Loading…
Reference in New Issue