Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/gui_statusbar.py

    r34f23c8 r5251ec6  
    112112        Method to send an arbitrary number of messages to the console log 
    113113 
    114         :param messages: A list of strings to be sent to the console log. 
     114        :param messages: A list of strings to be sent to the console log.  
    115115        """ 
    116116        if messages: 
     
    234234        If the window is resized, redraw the window. 
    235235        """ 
    236         self.reposition() 
     236        self.reposition()  
    237237        self.size_changed = True 
    238238 
     
    360360        if hasattr(event, "status"): 
    361361            self.SetStatusText(text=str(event.status), event=event) 
    362  
     362   
    363363    def set_gauge(self, event): 
    364364        """ 
     
    423423        self.SetFieldsCount(1) 
    424424        self.timeout = timeout 
    425         width, height = parent.GetSize() 
     425        width, height = parent.GetSizeTuple() 
    426426        self.gauge = wx.Gauge(self, style=wx.GA_HORIZONTAL, 
    427427                              size=(width, height/10)) 
Note: See TracChangeset for help on using the changeset viewer.