]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/url.cpp
Committing in .
[wxWidgets.git] / src / common / url.cpp
index eae17c35cae21795c0b4afd983e4e72790bc5829..c2e863f0b432495bef337d2f7cd6ba3455db6eb7 100644 (file)
@@ -36,11 +36,12 @@ IMPLEMENT_CLASS(wxURL, wxObject)
 wxProtoInfo *wxURL::ms_protocols = NULL;
 
 // Enforce linking of protocol classes:
-USE_PROTOCOL(wxHTTP)
-USE_PROTOCOL(wxFTP)
 USE_PROTOCOL(wxFileProto)
 
 #if wxUSE_SOCKETS
+USE_PROTOCOL(wxHTTP)
+USE_PROTOCOL(wxFTP)
+
     wxHTTP *wxURL::ms_proxyDefault = NULL;
     bool wxURL::ms_useDefaultProxy = FALSE;
 #endif