]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/url.h
wxEncodingConverter should and can be compiled
[wxWidgets.git] / include / wx / url.h
index 984a87fffc5ca2894f78f170a722136ae2588612..61c22330373753c00b52f89356fb63e3f8d46c8f 100644 (file)
@@ -75,24 +75,24 @@ public:
     wxString GetHostName() const     { return m_server; }
     wxString GetPath() const         { return m_path; }
 
-    //Use wxURI instead - delims is ignored
-    static wxString ConvertToValidURI(
+    //Use wxURI instead - this does not work that well
+    wxDEPRECATED( static wxString ConvertToValidURI(
                         const wxString& uri,
                         const wxChar* delims = wxT(";/?:@&=+$,")
-                    );
+                  ) );
 
     //Use wxURI::Unescape instead
-    static wxString ConvertFromURI(const wxString& uri);
+    wxDEPRECATED( static wxString ConvertFromURI(const wxString& uri) );
 #endif
 
 protected:
     static wxProtoInfo *ms_protocols;
 
-#if wxUSE_SOCKETS
+#if wxUSE_PROTOCOL_HTTP
     static wxHTTP *ms_proxyDefault;
     static bool ms_useDefaultProxy;
     wxHTTP *m_proxy;
-#endif // wxUSE_SOCKETS
+#endif // wxUSE_PROTOCOL_HTTP
 
 #if wxUSE_URL_NATIVE
     friend class wxURLNativeImp;