a
    §ˆc÷  ã                   @   s(   d dl Z d dlZd dlmZ dd„ ZdS )é    N)Úget_pathc                 C   s$   t j t| ƒ|¡}t |tj¡}|S )z‹
    Convenience function that returns a bitmap
    root - either an instance of a class or a path
    name - name of png file to load
    )ÚosÚpathÚjoinr   ÚwxZBitmapZBITMAP_TYPE_PNG)ÚrootÚnamer   Zbmp© r	   úR/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/pyface/wx/image.pyÚ
get_bitmap   s    r   )r   r   Ztraits.util.resourcer   r   r	   r	   r	   r
   Ú<module>   s   