Mailing List Archive

CVS: python/dist/src/Mac/Tools/IDE Wlists.py,1.10.6.1,1.10.6.2
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv30962

Modified Files:
Tag: release22-maint
Wlists.py
Log Message:
Backport of 1.12:
Make object browser work in OSX (by rewriting the old browser
LDEF in Python). If at all possible, this should go into 2.2.1.



Index: Wlists.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/Wlists.py,v
retrieving revision 1.10.6.1
retrieving revision 1.10.6.2
diff -C2 -d -r1.10.6.1 -r1.10.6.2
*** Wlists.py 27 Feb 2002 22:28:23 -0000 1.10.6.1
--- Wlists.py 26 Mar 2002 12:49:24 -0000 1.10.6.2
***************
*** 44,47 ****
--- 44,48 ----
rect = self._bounds
rect = rect[0]+1, rect[1]+1, rect[2]-16, rect[3]-1
+ self._viewbounds = rect
self._list = LNew(rect, (0, 0, self._cols, 0), (0, 0), self.LDEF_ID, self._parentwindow.wid,
0, 1, 0, 1)
***************
*** 68,71 ****
--- 69,74 ----
width = r - l - 17
height = b - t - 2
+ vl, vt, vr, vb = self._viewbounds
+ self._viewbounds = vl, vt, vl + width, vt + height
self._list.LSize(width, height)
# now *why* doesn't the list manager recalc the cellrect???
***************
*** 384,387 ****
--- 387,391 ----
rect = self._bounds
rect = rect[0]+1, rect[1]+1, rect[2]-16, rect[3]-1
+ self._viewbounds = rect
self._list = CreateCustomList(
rect,