add Paint() to SetProgress()

so that Windows does not think that the application is not responding.
This commit is contained in:
Thai Pangsakulyanont
2011-11-17 14:24:48 +07:00
parent 8d11f9f136
commit f119c8cead
@@ -194,6 +194,7 @@ void LoadingWindow_Win32::SetProgress(const int progress)
m_progress=progress;
HWND hwndItem = ::GetDlgItem( hwnd, IDC_PROGRESS );
::SendMessage(hwndItem,PBM_SETPOS,progress,0);
Paint();
}
void LoadingWindow_Win32::SetTotalWork(const int totalWork)