X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d3859bf1efe083d145bea1d4c67b67c58ba995b..2da6105611475cb08135997c587df72be67840bd:/wxPython/demo/wxMimeTypesManager.py diff --git a/wxPython/demo/wxMimeTypesManager.py b/wxPython/demo/wxMimeTypesManager.py index 7c9a03a2c1..0ad99a74c3 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 #---------------------------------------------------------------------------- @@ -166,7 +167,7 @@ overview = """\ import mimetypes_wdr def MyBitmapsFunc( index ): - return wxImage( "bitmaps/noicon.png", wxBITMAP_TYPE_PNG ).ConvertToBitmap() + return wxImage( opj("bitmaps/noicon.png"), wxBITMAP_TYPE_PNG ).ConvertToBitmap() mimetypes_wdr.MyBitmapsFunc = MyBitmapsFunc