Call UpdateWindow after user responded to the safety message dialog,

so that the window can repaint areas damaged by the dialog before the
message pump is stopped while the boot is in progress.
This commit is contained in:
uwe 2003-12-23 04:41:13 +00:00
parent 9a6c868096
commit 36fce64101
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* -*-C++-*- $NetBSD: rootwindow.cpp,v 1.7 2003/12/21 03:22:20 uwe Exp $ */
/* -*-C++-*- $NetBSD: rootwindow.cpp,v 1.8 2003/12/23 04:41:13 uwe Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -152,6 +152,7 @@ RootWindow::proc(HWND w, UINT msg, WPARAM wparam, LPARAM lparam)
TEXT("WARNING"),
MB_ICONQUESTION | MB_YESNO) != IDYES)
break;
UpdateWindow(w);
}
boot:
SendMessage(_progress_bar->_window, PBM_SETPOS, 0, 0);