X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c5ae2d2a6f716e8a89b27579026b9d085f84191..9fd9e47a93dfcdd99c2722e288a0f28a51ce6f5f:/wxPython/demo/wxMimeTypesManager.py diff --git a/wxPython/demo/wxMimeTypesManager.py b/wxPython/demo/wxMimeTypesManager.py index 0ad99a74c3..5768ba2592 100644 --- a/wxPython/demo/wxMimeTypesManager.py +++ b/wxPython/demo/wxMimeTypesManager.py @@ -165,9 +165,10 @@ overview = """\ import mimetypes_wdr +import images def MyBitmapsFunc( index ): - return wxImage( opj("bitmaps/noicon.png"), wxBITMAP_TYPE_PNG ).ConvertToBitmap() + return images.getNoIconBitmap() mimetypes_wdr.MyBitmapsFunc = MyBitmapsFunc