Watcom C++ mods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-01-07 15:22:05 +00:00
parent 2432b92dd7
commit 8a2c6ef8d1
68 changed files with 821 additions and 363 deletions

View File

@@ -250,7 +250,8 @@ wxInputStream *wxURL::GetInputStream(void)
addr.Service(m_servname);
if (!m_protocol->Connect(addr)) {
if (!m_protocol->Connect(addr, TRUE)) // Watcom needs the 2nd arg for some reason
{
m_error = wxURL_CONNERR;
return NULL;
}
@@ -281,7 +282,7 @@ void wxURL::SetDefaultProxy(const wxString& url_proxy)
addr.Hostname(hostname);
addr.Service(port);
g_proxy->Connect(addr);
g_proxy->Connect(addr, TRUE); // Watcom needs the 2nd arg for some reason
}
void wxURL::SetProxy(const wxString& url_proxy)
@@ -306,7 +307,7 @@ void wxURL::SetProxy(const wxString& url_proxy)
addr.Hostname(hostname);
addr.Service(port);
m_proxy.Connect(addr);
m_proxy.Connect(addr, TRUE); // Watcom needs the 2nd arg for some reason
m_protocol = &m_proxy;
m_protoname = "proxy";