X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40e32bca6c12a7068cded7cf5a39381e78b1b6b1..96461cc29d03b4a7ab72abaae2e7edace93dd2a5:/src/common/url.cpp diff --git a/src/common/url.cpp b/src/common/url.cpp index 9686971ff9..dfd818b176 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -423,7 +423,7 @@ bool wxURLModule::OnInit() // down the program startup (especially if there is no DNS server // available, in which case it may take up to 1 minute) - if ( getenv("HTTP_PROXY") ) + if ( wxGetenv(_T("HTTP_PROXY")) ) { wxURL::ms_useDefaultProxy = true; }