]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/ftp.h
wxPrinting fix for wxMGL
[wxWidgets.git] / include / wx / protocol / ftp.h
index 0ef5e77cf84c25ea0bd706b22c6dac86de323533..ae7391d45ef11f8a586b756def060de5b4e04e53 100644 (file)
     #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"
@@ -161,4 +164,6 @@ protected:
 // wxLog::AddTraceMask(FTP_TRACE_MASK) to see them in output
 #define FTP_TRACE_MASK _T("ftp")
 
+#endif // wxUSE_PROTOCOL_FTP
+
 #endif // __WX_FTP_H__