Changeset 4276

Show
Ignore:
Timestamp:
07/13/08 15:29:43 (3 months ago)
Author:
ed
Message:

Fixed a bug in the containerCoordinates() method

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/ui/uiwx/dPemMixin.py

    r4204 r4276  
    950950            cnt = cnt.Parent 
    951951        p = self 
     952        lastPar = None 
    952953        found = False 
    953954        while (p is not None): 
    954             lastPar = p 
    955955            if p is cnt: 
    956956                found = True 
     
    958958            l += p.Left 
    959959            t += p.Top 
     960            lastPar = p 
    960961            p = p.Parent 
    961962        # If we didn't find the container, that means that the object