X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb80bb5b30d7b16f39e6c1c63637f98fdf4ff63a..a949e8fac2666418b2a6eb15e94959563cf8aad6:/src/common/url.cpp diff --git a/src/common/url.cpp b/src/common/url.cpp index 8ae14ec4e9..16e2689e9a 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -65,7 +65,7 @@ wxURL::wxURL(const wxString& url) #if wxUSE_SOCKETS if ( ms_useDefaultProxy && !ms_proxyDefault ) { - SetDefaultProxy(getenv("HTTP_PROXY")); + SetDefaultProxy( wxGetenv(wxT("HTTP_PROXY")) ); if ( !ms_proxyDefault ) {