[Python-checkins] CVS: python/dist/src/Mac/Lib/test tlist_dialog.py,1.4,1.5
Jack Jansen
jackjansen@users.sourceforge.net
2001年8月03日 07:02:05 -0700
Update of /cvsroot/python/python/dist/src/Mac/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv10746/python/Mac/Lib/test
Modified Files:
tlist_dialog.py
Log Message:
This "test" showed an obsolete way to get scrolled lists in dialogs. Removed.
Index: tlist_dialog.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/test/tlist_dialog.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tlist_dialog.py 2000年06月20日 21:59:25 1.4
--- tlist_dialog.py 2001年08月03日 14:02:03 1.5
***************
*** 29,33 ****
#
list.LSetDrawingMode(1)
! list.LUpdate(self.wid.GetWindowPort().visRgn)
#
# Do the (modeless) dialog
--- 29,33 ----
#
list.LSetDrawingMode(1)
! list.LUpdate(d.GetDialogWindow().GetWindowPort().visRgn)
#
# Do the (modeless) dialog
***************
*** 42,46 ****
# XXXX We just always update our list (sigh...)
SetPort(window)
! list.LUpdate(self.wid.GetWindowPort().visRgn)
if IsDialogEvent(ev):
# It is a dialog event. See if it's ours.
--- 42,46 ----
# XXXX We just always update our list (sigh...)
SetPort(window)
! list.LUpdate(d.GetDialogWindow().GetWindowPort().visRgn)
if IsDialogEvent(ev):
# It is a dialog event. See if it's ours.