This commit is contained in:
leethomas 2016-01-10 15:55:26 -08:00
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ ae5c6add11
ΠšΠΎΠΌΠΌΠΈΡ‚ 803b06b7de
1 ΠΈΠ·ΠΌΠ΅Π½Ρ‘Π½Π½Ρ‹Ρ… Ρ„Π°ΠΉΠ»ΠΎΠ²: 5 Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ 4 ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠΉ

ΠŸΡ€ΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ Ρ„Π°ΠΉΠ»

@ -84,10 +84,11 @@ int ShowMessageBoxUTF16(HWND parent,
TDF_ALLOW_DIALOG_CANCELLATION; // Allow canceling the dialog.
TASKDIALOGCONFIG config = { 0 };
config.cbSize = sizeof(config);
config.hwndParent = parent;
config.hInstance = GetModuleHandle(NULL);
config.dwFlags = flags;
config.cbSize = sizeof(config);
config.hwndParent = parent;
config.hInstance = GetModuleHandle(NULL);
config.dwFlags = flags;
config.nDefaultButton = default_id ? (kIDStart + default_id) : 0;
// TaskDialogIndirect doesn't allow empty name, if we set empty title it
// will show "electron.exe" in title.