]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMimeTypesManager.py
Applied and merged patch 486364, which enables wxPython to be built in
[wxWidgets.git] / wxPython / demo / wxMimeTypesManager.py
index 0ad99a74c35085cf0f9d11c825e5e2350d551ac4..5768ba2592de3cb32bf1a437407aea955ce68760 100644 (file)
@@ -165,9 +165,10 @@ overview = """\
 
 
 import mimetypes_wdr
 
 
 import mimetypes_wdr
+import images
 
 def MyBitmapsFunc( index ):
 
 def MyBitmapsFunc( index ):
-    return wxImage( opj("bitmaps/noicon.png"), wxBITMAP_TYPE_PNG ).ConvertToBitmap()
+    return images.getNoIconBitmap()
 
 mimetypes_wdr.MyBitmapsFunc = MyBitmapsFunc
 
 
 mimetypes_wdr.MyBitmapsFunc = MyBitmapsFunc