X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3103e8a97e834e9793f0eb149aa82a99fd64ef9a..794b89c9565fc4e7b24722d2d52de4f7d23b6754:/include/wx/protocol/ftp.h diff --git a/include/wx/protocol/ftp.h b/include/wx/protocol/ftp.h index 9223a90350..01336376e0 100644 --- a/include/wx/protocol/ftp.h +++ b/include/wx/protocol/ftp.h @@ -13,10 +13,6 @@ #ifndef __WX_FTP_H__ #define __WX_FTP_H__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "ftp.h" -#endif - #include "wx/defs.h" #if wxUSE_PROTOCOL_FTP @@ -51,7 +47,7 @@ public: // Parameters set up // set transfer mode now - void SetPassive(bool pasv) { m_bPassive = pasv; }; + void SetPassive(bool pasv) { m_bPassive = pasv; } void SetDefaultTimeout(wxUint32 Value); bool SetBinary() { return SetTransferMode(BINARY); } bool SetAscii() { return SetTransferMode(ASCII); } @@ -142,7 +138,7 @@ protected: wxSocketBase *GetActivePort(); // helper for GetPort() - wxString GetPortCmdArgument(wxIPV4address Local, wxIPV4address New); + wxString GetPortCmdArgument(const wxIPV4address& Local, const wxIPV4address& New); // accept connection from server in active mode, returns the same socket as // passed in in passive mode