summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--library/ttk/combobox.tcl4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e861d70..abdebae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-11-22 Pat Thoyts <patthoyts@users.sourceforge.net>
+ * library/ttk/combobox.tcl: [Bug 1939129] combobox dropdown was
+ drawn behind topmost toplevels.
* generic/tkCanvText.c: Fixed up complaints from MSVC engendered
* generic/tkFont.c: by the last commit. In particular replaced
* win/tkWinDraw.c: round() which is a C99 function.
diff --git a/library/ttk/combobox.tcl b/library/ttk/combobox.tcl
index 1cb325c..5f50ca0 100644
--- a/library/ttk/combobox.tcl
+++ b/library/ttk/combobox.tcl
@@ -1,5 +1,5 @@
#
-# $Id: combobox.tcl,v 1.13 2008/10/28 20:02:03 jenglish Exp $
+# $Id: combobox.tcl,v 1.14 2008/11/22 20:26:11 patthoyts Exp $
#
# Combobox bindings.
#
@@ -405,6 +405,8 @@ proc ttk::combobox::Post {cb} {
# Post the listbox:
#
+ wm attribute $popdown \
+ -topmost [wm attribute [winfo toplevel $cb] -topmost]
wm deiconify $popdown
raise $popdown
}