]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/url.h
Correct compilation conditions for wxURL::SetProxy.
[wxWidgets.git] / include / wx / url.h
index 18143b786c8f46da7eedf7608e0b09a9954eb40a..d242169b3339e9d7ce5d1ba2d5210eacc3ddfeb0 100644 (file)
@@ -64,10 +64,10 @@ public:
 
     wxInputStream *GetInputStream();
 
-#if wxUSE_SOCKETS
+#if wxUSE_PROTOCOL_HTTP
     static void SetDefaultProxy(const wxString& url_proxy);
     void SetProxy(const wxString& url_proxy);
-#endif // wxUSE_SOCKETS
+#endif // wxUSE_PROTOCOL_HTTP
 
 #if WXWIN_COMPATIBILITY_2_4
     //Use the proper wxURI accessors instead