Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter2D.py

    r5251ec6 r34f23c8  
    179179        # On Windows platform, default window size is incorrect, so set 
    180180        # toolbar width to figure width. 
    181         _, th = self.toolbar.GetSizeTuple() 
    182         fw, _ = self.canvas.GetSizeTuple() 
     181        _, th = self.toolbar.GetSize() 
     182        fw, _ = self.canvas.GetSize() 
    183183        self.toolbar.SetSize(wx.Size(fw, th)) 
    184184        self.sizer.Add(self.toolbar, 0, wx.LEFT | wx.EXPAND) 
     
    400400            pos = self.ScreenToClient(pos_evt) 
    401401        except: 
    402             pos_x, pos_y = self.toolbar.GetPositionTuple() 
     402            pos_x, pos_y = self.toolbar.GetPosition() 
    403403            pos = (pos_x, pos_y + 5) 
    404404        self.PopupMenu(slicerpop, pos) 
Note: See TracChangeset for help on using the changeset viewer.