MiniMap dialog works as a child window now (#125)

This commit is contained in:
handama 2024-12-14 04:34:38 +08:00 committed by GitHub
parent 473eef415d
commit 51ec33af31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 21 additions and 20 deletions

View file

@ -162,7 +162,7 @@ void CMapD::OnChange()
((CFinalSunDlg*)theApp.m_pMainWnd)->m_view.m_isoview->RedrawWindow(NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW);
((CFinalSunDlg*)theApp.m_pMainWnd)->m_view.m_minimap.UpdateView();
((CFinalSunDlg*)theApp.m_pMainWnd)->m_view.m_minimap->UpdateView();
char c[50];
itoa(dlg.m_Width, c, 10);