mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
Issue #27262: move Aqua unbinding code, which enable context menus, to maxosx.
This commit is contained in:
parent
d03ed8a4d0
commit
24f3a1829f
2 changed files with 11 additions and 8 deletions
|
@ -1548,14 +1548,6 @@ def main():
|
|||
flist = PyShellFileList(root)
|
||||
macosx.setupApp(root, flist)
|
||||
|
||||
if macosx.isAquaTk():
|
||||
# There are some screwed up <2> class bindings for text
|
||||
# widgets defined in Tk which we need to do away with.
|
||||
# See issue #24801.
|
||||
root.unbind_class('Text', '<B2>')
|
||||
root.unbind_class('Text', '<B2-Motion>')
|
||||
root.unbind_class('Text', '<<PasteSelection>>')
|
||||
|
||||
if enable_edit:
|
||||
if not (cmd or script):
|
||||
for filename in args[:]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue