diff options
Diffstat (limited to 'Mac/Demo/PICTbrowse/ICONbrowse.py')
-rw-r--r-- | Mac/Demo/PICTbrowse/ICONbrowse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/PICTbrowse/ICONbrowse.py b/Mac/Demo/PICTbrowse/ICONbrowse.py index 902b5c7..42ae96d 100644 --- a/Mac/Demo/PICTbrowse/ICONbrowse.py +++ b/Mac/Demo/PICTbrowse/ICONbrowse.py @@ -93,7 +93,7 @@ class ICONwindow(FrameWork.Window): def fitrect(self): """Return self.pictrect scaled to fit in window""" graf = self.wid.GetWindowPort() - screenrect = graf.portRect + screenrect = graf.GetPortBounds() picwidth = self.pictrect[2] - self.pictrect[0] picheight = self.pictrect[3] - self.pictrect[1] if picwidth > screenrect[2] - screenrect[0]: |