content = url.GetProtocol().GetContentType();
if (content == wxEmptyString) content = GetMimeTypeFromExt(location);
if (s)
- {
+ {
wxChar buf[256];
wxGetTempFileName( _T("wxhtml"), buf);
m_Cache.Put(right, info);
{ // ok, now copy it:
-#if defined(__VISAGECPP__)
-// VA thinks this is an ambiguous call
- wxFileOutputStream sout((wxString)buf);
-#else
- wxFileOutputStream sout(buf);
-#endif
+ wxFileOutputStream sout(wxString(buf));
s -> Read(sout); // copy the stream
}
delete s;