X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/283965f0b33d0a7ea025afcc5a87fb162d3ea0a2..835165d576b66441987b78519e6ef1fe74ea795a:/include/wx/url.h?ds=sidebyside diff --git a/include/wx/url.h b/include/wx/url.h index c74abf302c..171efe8562 100644 --- a/include/wx/url.h +++ b/include/wx/url.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: url.h +// Name: wx/url.h // Purpose: URL parser // Author: Guilhem Lavaux // Modified by: Ryan Norton @@ -48,11 +48,13 @@ class WXDLLIMPEXP_NET wxURL : public wxURI { public: wxURL(const wxString& sUrl = wxEmptyString); - wxURL(const wxURI& url); + wxURL(const wxURI& uri); + wxURL(const wxURL& url); virtual ~wxURL(); wxURL& operator = (const wxString& url); - wxURL& operator = (const wxURI& url); + wxURL& operator = (const wxURI& uri); + wxURL& operator = (const wxURL& url); wxProtocol& GetProtocol() { return *m_protocol; } wxURLError GetError() const { return m_error; } @@ -99,6 +101,7 @@ protected: void Init(const wxString&); bool ParseURL(); void CleanData(); + void Free(); bool FetchProtocol(); friend class wxProtoInfo;