Changeset 1468

Show
Ignore:
Timestamp:
07/07/08 19:17:48 (5 months ago)
Author:
rob
Message:

Fixed bug in FileBrowseButton? createDialog -- 2.8.7.* uses different method signature than 2.8.8

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/peppy/lib/userparams.py

    r1465 r1468  
    120120class FileBrowseButton2(FileBrowseButton): 
    121121    """Small enhancements to FileBrowseButton""" 
    122     def createDialog( self, parent, id, pos, size, style, name ): 
     122    def createDialog( self, parent, id, pos, size, style, *args, **kwargs): 
    123123        """Setup the graphic representation of the dialog""" 
    124         wx.Panel.__init__ (self, parent, id, pos, size, style, name) 
     124        wx.Panel.__init__ (self, parent, id, pos, size, style, *args, **kwargs) 
    125125        self.SetMinSize(size) # play nice with sizers 
    126126