- location.GetData(), location.GetData(), location.GetData(), location.GetData());
+ (const char*)loc, (const char*)loc, (const char*)loc,
+ (const char*)loc);
+
+ // NB: There's a terrible hack involved: we fill 'buf' with new data every
+ // time this method is called and return new wxMemoryInputStream pointing to it.
+ // This won't work as soon as there are 2+ myVFS files opened. Fortunately,
+ // this won't happen because wxHTML keeps only one "page" file opened at the
+ // time.