OSDN Git Service

MergeDoc.cpp: If the command line option /x is specified and the files are identical...
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 22 Jan 2019 23:12:24 +0000 (08:12 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 22 Jan 2019 23:12:24 +0000 (08:12 +0900)
Src/MergeDoc.cpp

index 5e3f800..84316d4 100644 (file)
@@ -702,7 +702,7 @@ int CMergeDoc::ShowMessageBox(const String& sText, unsigned nType, unsigned nIDH
        if (!GetParentFrame()->IsActivated())
        {
                GetParentFrame()->InitialUpdateFrame(this, true);
-               GetParentFrame()->SendMessage(WM_IDLEUPDATECMDUI, (WPARAM)TRUE, 0);
+               GetParentFrame()->SendMessageToDescendants(WM_IDLEUPDATECMDUI, static_cast<WPARAM>(true), 0, true, true);
        }
        return AfxMessageBox(sText.c_str(), nType, nIDHelp);
 }