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/guiframe/local_perspectives/plotting/SimplePlot.py

    r7432acb r34f23c8  
    8484            pos = self.ScreenToClient(pos_evt) 
    8585        except: 
    86             pos_x, pos_y = self.toolbar.GetPositionTuple() 
     86            pos_x, pos_y = self.toolbar.GetPosition() 
    8787            pos = (pos_x, pos_y + 5) 
    8888        self.PopupMenu(slicerpop, pos) 
     
    135135        # set the resizing flag 
    136136        self.canvas.set_resizing(self.resizing) 
    137         pos_x, pos_y = self.GetPositionTuple() 
     137        pos_x, pos_y = self.GetPosition() 
    138138        if pos_x != 0 and pos_y != 0: 
    139             self.size, _ = self.GetClientSizeTuple() 
     139            self.size, _ = self.GetClientSize() 
    140140        self.SetSizer(self.sizer) 
    141141 
Note: See TracChangeset for help on using the changeset viewer.