Show custom buttons as links
This commit is contained in:
parent
a89e5592f2
commit
9793473b10
1 changed files with 2 additions and 1 deletions
|
@ -76,7 +76,8 @@ int ShowMessageBoxUTF16(HWND parent,
|
|||
const base::string16& message,
|
||||
const base::string16& detail,
|
||||
const gfx::ImageSkia& icon) {
|
||||
TASKDIALOG_FLAGS flags = TDF_SIZE_TO_CONTENT; // show all content.
|
||||
TASKDIALOG_FLAGS flags = TDF_SIZE_TO_CONTENT | // show all content.
|
||||
TDF_USE_COMMAND_LINKS; // custom buttons as links.
|
||||
if (cancel_id != 0)
|
||||
flags |= TDF_ALLOW_DIALOG_CANCELLATION; // allow dialog to be cancelled.
|
||||
|
||||
|
|
Loading…
Reference in a new issue