From: Guido van Rossum Date: Fri, 16 Aug 1991 13:24:58 +0000 (+0000) Subject: integrate with stdwinq X-Git-Tag: v0.9.8~824 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b7448020a7b6ff7eb913635b54424989796e467;p=thirdparty%2FPython%2Fcpython.git integrate with stdwinq --- diff --git a/Lib/lib-stdwin/gwin.py b/Lib/lib-stdwin/gwin.py index a53f69c46cb6..9dac882317aa 100644 --- a/Lib/lib-stdwin/gwin.py +++ b/Lib/lib-stdwin/gwin.py @@ -4,7 +4,7 @@ # This is used as a base class from which to derive other window types. # The mainloop() function here is an event dispatcher for all window types. -import stdwin +import stdwin, stdwinq from stdwinevents import * # XXX Old version of stdwinevents, should go @@ -46,7 +46,7 @@ def open(title): # Open a generic window def mainloop(): # Handle events until no windows left while windows: - treatevent(stdwin.getevent()) + treatevent(stdwinq.getevent()) def treatevent(e): # Handle a stdwin event type, w, detail = e diff --git a/Lib/stdwin/gwin.py b/Lib/stdwin/gwin.py index a53f69c46cb6..9dac882317aa 100755 --- a/Lib/stdwin/gwin.py +++ b/Lib/stdwin/gwin.py @@ -4,7 +4,7 @@ # This is used as a base class from which to derive other window types. # The mainloop() function here is an event dispatcher for all window types. -import stdwin +import stdwin, stdwinq from stdwinevents import * # XXX Old version of stdwinevents, should go @@ -46,7 +46,7 @@ def open(title): # Open a generic window def mainloop(): # Handle events until no windows left while windows: - treatevent(stdwin.getevent()) + treatevent(stdwinq.getevent()) def treatevent(e): # Handle a stdwin event type, w, detail = e