3
7ßL]Õ  ã               @   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jt| ƒ|ƒ}tj|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	   ú3/tmp/pip-install-5sebvq2j/pyface/pyface/wx/image.pyÚ
get_bitmap   s    r   )r   r   Ztraits.util.resourcer   r   r	   r	   r	   r
   Ú<module>   s   