summaryrefslogtreecommitdiffstats
path: root/library/msgbox.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:16:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-20 12:16:36 (GMT)
commit8077dd948e9d7c758be18837a1cc637007e50084 (patch)
treeb6b2163dafeff1c9a7328e67b75329e8a9f4ff83 /library/msgbox.tcl
parent95c5b39b2e335c0fc08a25281ad9097a29aee1ae (diff)
parentf4876885b53d6ed34fb1c3577e0c2d238a871953 (diff)
downloadtk-8077dd948e9d7c758be18837a1cc637007e50084.zip
tk-8077dd948e9d7c758be18837a1cc637007e50084.tar.gz
tk-8077dd948e9d7c758be18837a1cc637007e50084.tar.bz2
Use vroot size in stead of screen size for clipping window coordinates in ::tk::PlaceWindow.
Use ::tk::PlaceWindow in dialog.tcl, in stead of dumplicating the code there.
Diffstat (limited to 'library/msgbox.tcl')
-rw-r--r--library/msgbox.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/msgbox.tcl b/library/msgbox.tcl
index 2a22d54..e5a363d 100644
--- a/library/msgbox.tcl
+++ b/library/msgbox.tcl
@@ -406,7 +406,7 @@ proc ::tk::MessageBox {args} {
# 7. Withdraw the window, then update all the geometry information
# so we know how big it wants to be, then center the window in the
- # display and de-iconify it.
+ # display (Motif style) and de-iconify it.
::tk::PlaceWindow $w widget $data(-parent)