mirror of
https://github.com/python/cpython.git
synced 2026-06-08 04:19:23 -04:00
Merge with 3.5
This commit is contained in:
@@ -192,6 +192,7 @@ class AutoCompleteWindow:
|
||||
scrollbar.config(command=listbox.yview)
|
||||
scrollbar.pack(side=RIGHT, fill=Y)
|
||||
listbox.pack(side=LEFT, fill=BOTH, expand=True)
|
||||
acw.lift() # work around bug in Tk 8.5.18+ (issue #24570)
|
||||
|
||||
# Initialize the listbox selection
|
||||
self.listbox.select_set(self._binary_search(self.start))
|
||||
|
||||
@@ -72,6 +72,7 @@ class CallTip:
|
||||
background="#ffffe0", relief=SOLID, borderwidth=1,
|
||||
font = self.widget['font'])
|
||||
self.label.pack()
|
||||
tw.lift() # work around bug in Tk 8.5.18+ (issue #24570)
|
||||
|
||||
self.checkhideid = self.widget.bind(CHECKHIDE_VIRTUAL_EVENT_NAME,
|
||||
self.checkhide_event)
|
||||
|
||||
Reference in New Issue
Block a user