summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);