[Python-checkins] CVS: python/dist/src/Mac/Tools/IDE PyBrowser.py,1.11,1.11.2.1
Jack Jansen
jackjansen@users.sourceforge.net
Tue, 20 Nov 2001 15:22:05 -0800
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv8500/Python/Mac/Tools/IDE
Modified Files:
Tag: r22b2-branch
PyBrowser.py
Log Message:
Merged Just's trunk changes.
Index: PyBrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PyBrowser.py,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -C2 -d -r1.11 -r1.11.2.1
*** PyBrowser.py 2001/11/02 19:21:34 1.11
--- PyBrowser.py 2001/11/20 23:22:03 1.11.2.1
***************
*** 144,147 ****
--- 144,148 ----
#W.SetCursor('fist')
while Evt.Button():
+ Evt.WaitNextEvent(0, 1, None) # needed for OSX
(x, y) = Evt.GetMouse()
if (x, y) <> lastpoint:
***************
*** 308,312 ****
self.w = w = W.Window((300, 400), title, minsize = (100, 100))
w.info = W.TextBox((18, 8, -70, 15))
! w.updatebutton = W.Button((-64, 4, 50, 16), 'Update', self.update)
w.browser = BrowserWidget((-1, 24, 1, -14), None)
w.bind('cmdu', w.updatebutton.push)
--- 309,313 ----
self.w = w = W.Window((300, 400), title, minsize = (100, 100))
w.info = W.TextBox((18, 8, -70, 15))
! w.updatebutton = W.BevelButton((-64, 4, 50, 16), 'Update', self.update)
w.browser = BrowserWidget((-1, 24, 1, -14), None)
w.bind('cmdu', w.updatebutton.push)