"memory:about.html" failed to load "default.css"

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
chenbin.sh
Experienced Solver
Experienced Solver
Posts: 64
Joined: Fri Apr 17, 2009 7:15 am
Location: Sydney, Australia
Contact:

"memory:about.html" failed to load "default.css"

Post by chenbin.sh » Thu Dec 20, 2012 1:26 pm

Both files are in memory and I'm using wxWebView to load about.html.

The problem is default.css won't be loaded unless I specify the "memory:" prefix. for exmaple, "<link href='memory:default.css">". Any way to avoid insert "memory:"? All my html/css files will be stored in memory. and I don't want to change the original link to add "memory:" prefix,

Basically I want wxWebView can assume any relative link is a link to file in memory.
Last edited by chenbin.sh on Fri Dec 21, 2012 2:03 am, edited 1 time in total.
help me, help you.
http://blog.binchen.org

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Re: "memory:about.html" failed to load "default.css"

Post by Auria » Thu Dec 20, 2012 11:54 pm

Which OS?

But wxWebView questions are usually better asked on the mailing list, since that's where Steve Lamerton, the author of this part of wxWebView, hangs
"Keyboard not detected. Press F1 to continue"
-- Windows

chenbin.sh
Experienced Solver
Experienced Solver
Posts: 64
Joined: Fri Apr 17, 2009 7:15 am
Location: Sydney, Australia
Contact:

Re: "memory:about.html" failed to load "default.css"

Post by chenbin.sh » Fri Dec 21, 2012 2:03 am

mac os x 10.7.3
help me, help you.
http://blog.binchen.org

Post Reply