summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-11-22 20:34:37 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-11-22 20:34:37 (GMT)
commit5a2871381640d27b8ac75facb36152f702c4d1b9 (patch)
tree2a9a064f6b145bb587543b8597cb13a8425cfb6b /library
parent8d02f3eefb3c880f59c76afb60f1e0fd64c77d0f (diff)
downloadtk-5a2871381640d27b8ac75facb36152f702c4d1b9.zip
tk-5a2871381640d27b8ac75facb36152f702c4d1b9.tar.gz
tk-5a2871381640d27b8ac75facb36152f702c4d1b9.tar.bz2
Backported combobox toplevel fix for [Bug 1939129]
Diffstat (limited to 'library')
-rw-r--r--library/ttk/combobox.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/ttk/combobox.tcl b/library/ttk/combobox.tcl
index 2f4838f..6dad7e0 100644
--- a/library/ttk/combobox.tcl
+++ b/library/ttk/combobox.tcl
@@ -1,5 +1,5 @@
#
-# $Id: combobox.tcl,v 1.12 2008/02/23 18:41:07 jenglish Exp $
+# $Id: combobox.tcl,v 1.12.2.1 2008/11/22 20:34:37 patthoyts Exp $
#
# Combobox bindings.
#
@@ -391,6 +391,8 @@ proc ttk::combobox::Post {cb} {
# Post the listbox:
#
+ wm attribute $popdown \
+ -topmost [wm attribute [winfo toplevel $cb] -topmost]
wm deiconify $popdown
raise $popdown
}