]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
combobox buglet when inserting item
[wxWidgets.git] / src / common / protocol.cpp
index d0da8f24265773886a23ce363f6e15199a63ab4e..ac5020956faca9836520bd8fcfe711ac96b7ea27 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_SOCKETS
+
 #ifndef WX_PRECOMP
 #include <wx/wx.h>
 #endif
@@ -38,7 +40,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;
@@ -137,3 +139,6 @@ void wxProtocolModule::OnExit()
   delete wxURL::g_proxy;
   wxURL::g_proxy = NULL;
 }
+
+#endif
+  // wxUSE_SOCKETS