summaryrefslogtreecommitdiffstats
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
parente77ca00583903b3d69c7c80d987b99134eb8fa05 (diff)
downloadtk-d73ef045682f0b429f7dee776e8851229855133a.zip
tk-d73ef045682f0b429f7dee776e8851229855133a.tar.gz
tk-d73ef045682f0b429f7dee776e8851229855133a.tar.bz2
Backport [Bug 2482771] fix.
-rw-r--r--ChangeLog2
-rw-r--r--win/tkWinDialog.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c9c1ce..1ea8e7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2011-06-07 Don Porter <dgp@users.sourceforge.net>
+ * win/tkWinDialog.c: Backport [Bug 2482771] fix.
+
* generic/tkEntry.c: Restore support for values "08" and "09"
in a [spinbox] configured to use -from and -to values. [Bug 2358545].
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);