]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
my previous commit patched the wrong file
[wxWidgets.git] / src / common / http.cpp
index 5a185bf899c0a7e8a1e53e8b943fcbfffb74595b..4525c981077d0d78d68284a64cfa74731ef295a8 100644 (file)
@@ -32,6 +32,7 @@
 #include "wx/url.h"
 #include "wx/protocol/http.h"
 #include "wx/sckstrm.h"
+#include "wx/thread.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxHTTP, wxProtocol)
 IMPLEMENT_PROTOCOL(wxHTTP, wxT("http"), wxT("80"), true)
@@ -218,7 +219,7 @@ bool wxHTTP::Connect(const wxString& host, unsigned short port)
     return true;
 }
 
-bool wxHTTP::Connect(wxSockAddress& addr, bool WXUNUSED(wait))
+bool wxHTTP::Connect(const wxSockAddress& addr, bool WXUNUSED(wait))
 {
     if (m_addr) {
         delete m_addr;