don't use m_useProxy if !wxUSE_PROTOCOL_HTTP (see #10815)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-20 23:02:21 +00:00
parent c475468896
commit 283965f0b3
2 changed files with 11 additions and 4 deletions

View File

@@ -78,6 +78,7 @@ protected:
static wxHTTP *ms_proxyDefault;
static bool ms_useDefaultProxy;
wxHTTP *m_proxy;
bool m_useProxy;
#endif // wxUSE_PROTOCOL_HTTP
#if wxUSE_URL_NATIVE
@@ -87,13 +88,13 @@ protected:
// Creates on the heap and returns a native
// implementation object for the current platform.
static wxURLNativeImp *CreateNativeImpObject();
#endif
#endif // wxUSE_URL_NATIVE
wxProtoInfo *m_protoinfo;
wxProtocol *m_protocol;
wxURLError m_error;
wxString m_url;
bool m_useProxy;
void Init(const wxString&);
bool ParseURL();