Ticket URL: <
http://trac.wxwidgets.org/ticket/14623#comment:3>
#14623: A wxWebView virtual file system handler class to support wxMemoryFSHandler
------------------------------------------------------+---------------------
Reporter: nickmat | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: WebView | Version: 2.9-svn
Keywords: wxFileSystem wxMemoryFSHandler wxWebView | Blockedby:
Patch: 1 | Blocking:
------------------------------------------------------+---------------------
Changes (by nickmat):
* status: infoneeded_new => new
Comment:
I did consider other protocols, but after looking at the "wxFileSystem
Overview" I guessed that the way wxFileSystem implemented combined
protocols would confuse the browser engines, which is why a different
approach is needed for these. But I don't see why it shouldn't work for
any single-protocol handler. Of the 4 built-in file system handlers: 2 are
combined-protocols and the wxInternetFSHandler is a bit redundant here -
leaving only the wxMemoryFSHandler.
Maybe this should be documented, but since it was mostly guesswork, I just
left it open.
I did briefly look at converting the html/virtual sample, but it documents
a hack which is acceptable for wxHtml but probably not for wxWebView, so I
didn't pursue it.
One test I did do, which I didn't include in the sample, was to test the #
anchor part. This worked as expected.
Nick Matthews, happy to take the blame.
--
Ticket URL: <
http://trac.wxwidgets.org/ticket/14623#comment:3>