X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbccd1c2611589a74006a9993a64e8adcda58a27..8946ede10c2702c7acbb194fe8bd2793d7fb8358:/include/wx/protocol/http.h?ds=sidebyside diff --git a/include/wx/protocol/http.h b/include/wx/protocol/http.h index 2f6437e24a..29f727451f 100644 --- a/include/wx/protocol/http.h +++ b/include/wx/protocol/http.h @@ -25,11 +25,11 @@ class WXDLLIMPEXP_NET wxHTTP : public wxProtocol { public: wxHTTP(); - ~wxHTTP(); + virtual ~wxHTTP(); virtual bool Connect(const wxString& host, unsigned short port); virtual bool Connect(const wxString& host) { return Connect(host, 0); } - virtual bool Connect(wxSockAddress& addr, bool wait); + virtual bool Connect(const wxSockAddress& addr, bool wait); bool Abort(); wxInputStream *GetInputStream(const wxString& path); inline wxProtocolError GetError() { return m_perr; }