Add root.tkraise() to the _test() program so the window doesn't hide
behind the shell window on NT.
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index 740dc89..d567467 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -1722,6 +1722,7 @@
root.test = test
quit = Button(root, text="QUIT", command=root.destroy)
quit.pack()
+ root.tkraise()
root.mainloop()
if __name__ == '__main__':
diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py
index 740dc89..d567467 100755
--- a/Lib/tkinter/Tkinter.py
+++ b/Lib/tkinter/Tkinter.py
@@ -1722,6 +1722,7 @@
root.test = test
quit = Button(root, text="QUIT", command=root.destroy)
quit.pack()
+ root.tkraise()
root.mainloop()
if __name__ == '__main__':