summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-06-07 21:27:46 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-06-07 21:27:46 (GMT)
commitd73ef045682f0b429f7dee776e8851229855133a (patch)
tree1b53a1bc3a6ccc6f3743a9bbe92a73dcd8ef2d8f /win/tkWinDialog.c
parente77ca00583903b3d69c7c80d987b99134eb8fa05 (diff)
downloadtk-d73ef045682f0b429f7dee776e8851229855133a.zip
tk-d73ef045682f0b429f7dee776e8851229855133a.tar.gz
tk-d73ef045682f0b429f7dee776e8851229855133a.tar.bz2
Backport [Bug 2482771] fix.
Diffstat (limited to 'win/tkWinDialog.c')
-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);