#pragma interface "ftp.h"
#endif
-#include "wx/object.h"
+#include "wx/defs.h"
+
+#if wxUSE_PROTOCOL_FTP
+
#include "wx/sckaddr.h"
#include "wx/protocol/protocol.h"
#include "wx/url.h"
const wxString& wildcard = wxEmptyString,
bool details = FALSE);
-#ifdef WXWIN_COMPATIBILITY_2
+#if WXWIN_COMPATIBILITY_2
// deprecated
wxList *GetList(const wxString& wildcard, bool details = FALSE);
#endif // WXWIN_COMPATIBILITY_2
// wxLog::AddTraceMask(FTP_TRACE_MASK) to see them in output
#define FTP_TRACE_MASK _T("ftp")
+#endif // wxUSE_PROTOCOL_FTP
+
#endif // __WX_FTP_H__