mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
#199 Update confirm reboot dialog box with instructions how to disable the message in the future.
This commit is contained in:
parent
825b7cddcb
commit
9140d5bca0
@ -1685,7 +1685,14 @@ static bool ConfirmReboot(bool bFromButtonUI)
|
||||
if (!bFromButtonUI || !g_bConfirmReset)
|
||||
return true;
|
||||
|
||||
int res = MessageBox(g_hFrameWindow, "Are you sure you want to reboot?\n(All data will be lost!)", "Reboot", MB_ICONWARNING|MB_YESNO);
|
||||
int res = MessageBox(g_hFrameWindow,
|
||||
"Are you sure you want to reboot?\n"
|
||||
"(All data will be lost!)\n"
|
||||
"\n"
|
||||
"You can skip this dialog from displaying by unchecking:\n"
|
||||
" [ ] Confirm reset\n"
|
||||
"in the Configuration dialog.\n"
|
||||
, "Reboot", MB_ICONWARNING|MB_YESNO);
|
||||
return res == IDYES;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user