X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d56cebe7a497773d8753ea2ab874c4445bac18dc..d9a26b2bc9dc253134cbdd235dca9cdff255af59:/wxPython/demo/XML_Resource.py

diff --git a/wxPython/demo/XML_Resource.py b/wxPython/demo/XML_Resource.py
index d89f84d036..ba5350f539 100644
--- a/wxPython/demo/XML_Resource.py
+++ b/wxPython/demo/XML_Resource.py
@@ -1,10 +1,11 @@
 
 from wxPython.wx import *
 from wxPython.xrc import *
+from Main import opj
 
 #----------------------------------------------------------------------
 
-RESFILE = "data/resource_wdr.xrc"
+RESFILE = opj("data/resource_wdr.xrc")
 
 class TestPanel(wxPanel):
     def __init__(self, parent, log):