Applied [ 1555974 ] small wxURL improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
class WXDLLIMPEXP_NET wxURL : public wxURI
|
||||
{
|
||||
public:
|
||||
wxURL(const wxString& sUrl);
|
||||
wxURL(const wxString& sUrl = wxEmptyString);
|
||||
wxURL(const wxURI& url);
|
||||
virtual ~wxURL();
|
||||
|
||||
@@ -58,6 +58,12 @@ public:
|
||||
wxURLError GetError() const { return m_error; }
|
||||
wxString GetURL() const { return m_url; }
|
||||
|
||||
wxURLError SetURL(const wxString &url)
|
||||
{ *this = url; return m_error; }
|
||||
|
||||
bool IsOk() const
|
||||
{ return m_error == wxURL_NOERR; }
|
||||
|
||||
wxInputStream *GetInputStream();
|
||||
|
||||
#if wxUSE_PROTOCOL_HTTP
|
||||
|
Reference in New Issue
Block a user