Changeset 34f23c8 in sasview for src/sas/sasgui/plottools/toolbar.py


Ignore:
Timestamp:
Mar 20, 2019 10:06:22 AM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
ticket-1249
Children:
9305b46
Parents:
09d7021
Message:

py3/wx4 compatibility changes for gui. Refs #1249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/plottools/toolbar.py

    rcb64d86 r34f23c8  
    158158        """ 
    159159        _dc = self.GetDC() 
    160         (_dcX, _dcY) = _dc.GetSizeTuple() 
    161         (_bmpX,_bmpY) = self.canvas.GetSize() 
     160        _dcX, _dcY = _dc.GetSize() 
     161        _bmpX, _bmpY = self.canvas.GetSize() 
    162162        _scale = min(_dcX/_bmpX, _dcY/_bmpY) 
    163163        _dc.SetUserScale(_scale, _scale) 
Note: See TracChangeset for help on using the changeset viewer.