]> 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 7c9a03a2c1668118f030a1232881bbc6f855425a..5768ba2592de3cb32bf1a437407aea955ce68760 100644 (file)
@@ -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