virtual ~wxFTP();
// Connecting and disconnecting
- bool Connect(const wxSockAddress& addr, bool wait = true);
- bool Connect(const wxString& host);
+ virtual bool Connect(const wxSockAddress& addr, bool wait = true);
+ virtual bool Connect(const wxString& host) { return Connect(host, 0); }
+ virtual bool Connect(const wxString& host, unsigned short port);
// disconnect
virtual bool Close();
// the trace mask used by assorted wxLogTrace() in ftp code, do
// wxLog::AddTraceMask(FTP_TRACE_MASK) to see them in output
-#define FTP_TRACE_MASK _T("ftp")
+#define FTP_TRACE_MASK wxT("ftp")
#endif // wxUSE_PROTOCOL_FTP