summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2011-06-07 21:27:46 (GMT)
committerdgp <dgp@noemail.net>2011-06-07 21:27:46 (GMT)
commit0c6440ba9574498f463410f8ae37fed718a20495 (patch)
tree1b53a1bc3a6ccc6f3743a9bbe92a73dcd8ef2d8f
parent578a822f555453c7bfc7085d6eae1810495f17d5 (diff)
downloadtk-0c6440ba9574498f463410f8ae37fed718a20495.zip
tk-0c6440ba9574498f463410f8ae37fed718a20495.tar.gz
tk-0c6440ba9574498f463410f8ae37fed718a20495.tar.bz2
Backport [Bug 2482771] fix.
FossilOrigin-Name: 71ccc3ca47da575265d55538afdbcfc2cb443bce
-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);