]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMimeTypesManager.py
fixed compilation under Unix where SQL_DATETIME is not defined
[wxWidgets.git] / wxPython / demo / wxMimeTypesManager.py
index 0ad99a74c35085cf0f9d11c825e5e2350d551ac4..5768ba2592de3cb32bf1a437407aea955ce68760 100644 (file)
@@ -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