git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32926
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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
CPPUNIT_TEST( Comparison );
#if TEST_URL
CPPUNIT_TEST( URLCompat );
+#if wxUSE_PROTOCOL_HTTP
CPPUNIT_TEST( URLProxy );
+#endif
#endif
CPPUNIT_TEST_SUITE_END();
CPPUNIT_ASSERT( test.GetPath() == wxT("%22myf%22ile.txt") );
}
+#if wxUSE_PROTOCOL_HTTP
void URITestCase::URLProxy()
{
wxURL url(wxT("http://www.asite.com/index.html"));
url.SetProxy(wxT("pserv:3122"));
}
+#endif // wxUSE_PROTOCOL_HTTP
#endif