]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxGetenv() instead of getenv() which doesn't exist under WinCE
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Mar 2005 19:14:04 +0000 (19:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Mar 2005 19:14:04 +0000 (19:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/url.cpp

index 9686971ff94bbd2bf114f0448533905085873a94..4da85116586321c0e206c6deb17f0ed757f6cb96 100644 (file)
@@ -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("HTTP_PROXY") )
     {
         wxURL::ms_useDefaultProxy = true;
     }