]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
Needed some variation; got bored of seeing the compilation errors for this
[wxWidgets.git] / src / common / protocol.cpp
index d0da8f24265773886a23ce363f6e15199a63ab4e..736b38fd1359312a1877a0fd6cbd1407384de107 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+  #pragma hdrstop
 #endif
 
 #endif
 
-#ifndef WX_PRECOMP
-#include <wx/wx.h>
-#endif
+#if wxUSE_SOCKETS
 
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
 
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
@@ -38,7 +36,7 @@
  * --------------------------------------------------------------
  */
 
  * --------------------------------------------------------------
  */
 
-wxProtoInfo::wxProtoInfo(const char *name, const char *serv,
+wxProtoInfo::wxProtoInfo(const wxChar *name, const wxChar *serv,
                          const bool need_host1, wxClassInfo *info)
 {
   m_protoname = name;
                          const bool need_host1, wxClassInfo *info)
 {
   m_protoname = name;
@@ -137,3 +135,6 @@ void wxProtocolModule::OnExit()
   delete wxURL::g_proxy;
   wxURL::g_proxy = NULL;
 }
   delete wxURL::g_proxy;
   wxURL::g_proxy = NULL;
 }
+
+#endif
+  // wxUSE_SOCKETS