mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
fixes to bug#7717 on exiting the wizard you get a message stating that data has been saved
This commit is contained in:
parent
29ef77e926
commit
d6f4f9ad58
@ -320,6 +320,8 @@ BOOL CWizardMachineApp::InitInstance()
|
||||
|
||||
if (PageReturnValue == IDCANCEL)
|
||||
{
|
||||
AfxMessageBox("All changed data excluding those on the current page will be saved", MB_OK);
|
||||
|
||||
theApp.CreateNewCache();
|
||||
}
|
||||
if (PageReturnValue == ID_HELP)
|
||||
|
@ -392,6 +392,15 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
|
||||
_mkdir (tmpPath);
|
||||
}
|
||||
}
|
||||
else if (strcmp(pcmd, "Message") ==0)
|
||||
{
|
||||
int rv = AfxMessageBox(parms,MB_YESNO);
|
||||
if (rv == IDYES)
|
||||
return TRUE;
|
||||
if (rv == IDNO)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
else if (strcmp(pcmd, "DisplayImage") == 0)
|
||||
{
|
||||
// This is to dsiplay an image in a separate dialog
|
||||
|
Loading…
Reference in New Issue
Block a user