]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/protocol.cpp
Fixed doubled-up key effects in wxTextCtrl by resetting m_lastMsg to 0
[wxWidgets.git] / src / common / protocol.cpp
index d0da8f24265773886a23ce363f6e15199a63ab4e..5ee3ebf5fa731b2cc0842ba5298c399eabbf6625 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_SOCKETS
+
 #ifndef WX_PRECOMP
 #include <wx/wx.h>
 #endif
@@ -137,3 +139,6 @@ void wxProtocolModule::OnExit()
   delete wxURL::g_proxy;
   wxURL::g_proxy = NULL;
 }
+
+#endif
+  // wxUSE_SOCKETS