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/plugin_base.py

    r5251ec6 r34f23c8  
    105105    def delete_data(self, data_id): 
    106106        """ 
    107         Delete all references of data which id are in data_list.  
     107        Delete all references of data which id are in data_list. 
    108108        """ 
    109109 
     
    142142        """ 
    143143        Create and return the list of application menu 
    144         items for the plug-in.  
     144        items for the plug-in. 
    145145 
    146146        :param parent: parent window 
     
    238238        if self.frame is not None: 
    239239            if old_frame is not None: 
    240                 pos_x, pos_y = old_frame.GetPositionTuple() 
     240                pos_x, pos_y = old_frame.GetPosition() 
    241241                self.frame.SetPosition((pos_x, pos_y)) 
    242242            if not self.frame.IsShown(): 
     
    254254        need to be overwritten by the derivated class 
    255255        """ 
    256      
     256 
    257257    def post_init(self): 
    258258        """ 
     
    261261        pass 
    262262 
    263     def set_state(self, state=None, datainfo=None):     
     263    def set_state(self, state=None, datainfo=None): 
    264264        """ 
    265265        update state 
Note: See TracChangeset for help on using the changeset viewer.