Couple of unicode fixes (the #if should be wxUSE_UNICODE, not wxUNICODE,

and there's no sense in allocating a wxWX2MBbuf of len 200 then assigning
a different buffer to it either)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-07-23 09:41:17 +00:00
parent fc8525d7b0
commit e7fc59f4a1
2 changed files with 3 additions and 8 deletions

View File

@@ -86,9 +86,9 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri
if (content == wxEmptyString) content = GetMimeTypeFromExt(location);
if (s)
{
char buf[256];
wxChar buf[256];
wxGetTempFileName( "wxhtml", buf);
wxGetTempFileName( _T("wxhtml"), buf);
info = new wxInetCacheNode(buf, content);
m_Cache.Put(right, info);