]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
Choose a legal default font on DC creation.
[wxWidgets.git] / src / common / http.cpp
index 6f4aacf052c22ddd4c35054704763251ecfa49d4..600cef4d47e0f7a0ce3bdfe058560e5c72348b90 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-  #pragma implementation "http.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -146,13 +142,7 @@ bool wxHTTP::ParseHeaders()
     ClearHeaders();
     m_read = true;
 
-#if defined(__VISAGECPP__)
-// VA just can't stand while(1)
-    bool bOs2var = true;
-    while(bOs2var)
-#else
-    while (1)
-#endif
+    for ( ;; )
     {
         m_perr = ReadLine(this, line);
         if (m_perr != wxPROTO_NOERR)