Enable/disable refresh button in MapViewer when automatic refresh is enabled.
This commit is contained in:
parent
6a61496c93
commit
cbff68bd78
|
@ -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