X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..c4f4cf895c1576d2c474a8ebec5d3ee01b98d5f7:/src/common/ftp.cpp diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 23dde41989..8d34c443b3 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -524,6 +524,8 @@ public: wxFTP *m_ftp; size_t m_ftpsize; + + DECLARE_NO_COPY_CLASS(wxInputFTPStream) }; class wxOutputFTPStream : public wxSocketOutputStream @@ -558,6 +560,8 @@ public: } wxFTP *m_ftp; + + DECLARE_NO_COPY_CLASS(wxOutputFTPStream) }; wxSocketClient *wxFTP::GetPort() @@ -890,7 +894,7 @@ wxList *wxFTP::GetList(const wxString& wildcard, bool details) { wxSocketBase *sock = GetPort(); if (!sock) - return FALSE; + return NULL; wxList *file_list = new wxList; wxString line; // NLST : List of Filenames (including Directory's !)