X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..0425151023593cb31da0ee0a652da173ca9abfde:/src/common/ftp.cpp diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 23dde41989..baac336f08 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -10,7 +10,7 @@ // Created: 07/07/1997 // RCS-ID: $Id$ // Copyright: (c) 1997, 1998 Guilhem Lavaux -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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 !)