many changes; major ones:
1. start of !wxUSE_GUI support 2. _T() macro renamed to T() 3. wxConvertWX2MB and MB2WX macro added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,13 +69,13 @@ class wxInetCacheNode : public wxObject
|
||||
bool wxInternetFSHandler::CanOpen(const wxString& location)
|
||||
{
|
||||
wxString p = GetProtocol(location);
|
||||
return (p == _T("http")) || (p == _T("ftp"));
|
||||
return (p == T("http")) || (p == T("ftp"));
|
||||
}
|
||||
|
||||
|
||||
wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& location)
|
||||
{
|
||||
wxString right = GetProtocol(location) + _T(":") + GetRightLocation(location);
|
||||
wxString right = GetProtocol(location) + T(":") + GetRightLocation(location);
|
||||
wxInputStream *s;
|
||||
wxString content;
|
||||
wxInetCacheNode *info;
|
||||
@@ -93,7 +93,7 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri
|
||||
{
|
||||
wxChar buf[256];
|
||||
|
||||
wxGetTempFileName( _T("wxhtml"), buf);
|
||||
wxGetTempFileName( T("wxhtml"), buf);
|
||||
info = new wxInetCacheNode(buf, content);
|
||||
m_Cache.Put(right, info);
|
||||
|
||||
|
Reference in New Issue
Block a user