Add default argument for the overridden base class Connect() in wxHTTP.
This allows to call Connect(wxIPV4address) on a wxHTTP object, without having to explicitly specify the second argument (this was documented as being a Watcom-specific problem, but actually it wasn't). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
|
||||
virtual bool Connect(const wxString& host, unsigned short port);
|
||||
virtual bool Connect(const wxString& host) wxOVERRIDE { return Connect(host, 0); }
|
||||
virtual bool Connect(const wxSockAddress& addr, bool wait) wxOVERRIDE;
|
||||
virtual bool Connect(const wxSockAddress& addr, bool wait = true) wxOVERRIDE;
|
||||
bool Abort() wxOVERRIDE;
|
||||
|
||||
wxInputStream *GetInputStream(const wxString& path) wxOVERRIDE;
|
||||
|
Reference in New Issue
Block a user