X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40e32bca6c12a7068cded7cf5a39381e78b1b6b1..b0802e642190c07d819d1c01bd7c315453d091d0:/src/common/url.cpp?ds=sidebyside 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; }