summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index b4853bb..ce23703 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -2400,7 +2400,7 @@ Tk_MessageBoxObjCmd(
flags = buttonFlagMap[defaultBtnIdx];
}
- flags |= icon | type | MB_SYSTEMMODAL;
+ flags |= icon | type | MB_TASKMODAL | MB_SETFOREGROUND;
tmpObj = messageObj ? Tcl_DuplicateObj(messageObj)
: Tcl_NewUnicodeObj(NULL, 0);