SAVECLOSING_DISCARD, /**< Discard changes */
};
- SaveClosingDlg(CWnd* pParent = NULL); // standard constructor
+ explicit SaveClosingDlg(CWnd* pParent = NULL); // standard constructor
- void DoAskFor(BOOL bLeft = FALSE, BOOL bMiddle = FALSE, BOOL bRight = FALSE);
+ void DoAskFor(bool bLeft = false, bool bMiddle = false, bool bRight = false);
// Dialog Data
//{{AFX_DATA(SaveClosingDlg)
try
{
ProcessHandle hVss(Process::launch(vssPath, args));
- code = Process::wait(hVss);
+ int code = Process::wait(hVss);
if (code != 0)
{
- if (LangMessageBox(IDS_VSS_CHECKINERROR, MB_ICONWARNING | MB_YESNO) == IDYES)
+ if (AppMsgBox::warning(_("Versioning System returned an error while attempting to check in the file.\n Please, check config spec of used view.\n Undo checkout operation?"),
+ AppMsgBox::YES | AppMsgBox::NO) == AppMsgBox::YES)
{
// undo checkout operation
args.push_back("uncheckout");