X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d3859bf1efe083d145bea1d4c67b67c58ba995b..59d04dff037f66e9e73b389de72835211f5f0bcd:/wxPython/demo/wxMimeTypesManager.py diff --git a/wxPython/demo/wxMimeTypesManager.py b/wxPython/demo/wxMimeTypesManager.py index 7c9a03a2c1..5768ba2592 100644 --- a/wxPython/demo/wxMimeTypesManager.py +++ b/wxPython/demo/wxMimeTypesManager.py @@ -2,6 +2,7 @@ import pprint, string, os from wxPython.wx import * from mimetypes_wdr import * +from Main import opj #---------------------------------------------------------------------------- @@ -164,9 +165,10 @@ overview = """\ import mimetypes_wdr +import images def MyBitmapsFunc( index ): - return wxImage( "bitmaps/noicon.png", wxBITMAP_TYPE_PNG ).ConvertToBitmap() + return images.getNoIconBitmap() mimetypes_wdr.MyBitmapsFunc = MyBitmapsFunc