]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
Added Set/GetThemeEnabled and used this for determining whether to paint a theme
[wxWidgets.git] / src / common / http.cpp
index c35d41b0020028d74fafe5747cc2cfef5c8c45e0..90d5db12a88fecc508f5f953a63c7887c817b6fc 100644 (file)
@@ -20,7 +20,7 @@
   #pragma hdrstop
 #endif
 
-#if wxUSE_SOCKETS
+#if wxUSE_SOCKETS && wxUSE_STREAMS
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -212,7 +212,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req)
   }
 
   SaveState();
-  SetFlags(NONE);
+  SetFlags(wxSOCKET_NONE);
   Notify(FALSE);
 
   wxSprintf(buf, wxT("%s %s HTTP/1.0\n\r"), tmp_buf, tmp_str.GetData());