a
    §ˆc  ã                   @   s   d dl Z G dd„ de jƒZdS )é    Nc                   @   s   e Zd Zdd„ Zdd„ ZdS )ÚProgressDialogc                 O   s   t jj| g|¢R i |¤Ž d S )N)Úwxr   Ú__init__)ÚselfÚargsÚkwds© r   ú[/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pyface/wx/progress_meter.pyr      s    zProgressDialog.__init__c                 C   s   | j  tj¡}| |¡ dS )z: Change the Cancel button label to something else eg Stop.N)ZWindowZFindWindowByIdr   Z	ID_CANCELZSetLabel)r   ÚtitleÚbuttonr   r   r	   ÚSetButtonLabel   s    
zProgressDialog.SetButtonLabelN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r	   r      s   r   )r   r   r   r   r   r	   Ú<module>   s   