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