]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/socket.h
Work on streams of all sorts. More to come.
[wxWidgets.git] / include / wx / socket.h
index ef410dbc3050eeb6b92aecceaff335af2b463de3..36a0934e45e35bfbc7a1590b22d1826da64f6f8b 100644 (file)
 #pragma interface "socket.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_SOCKETS
+
 // ---------------------------------------------------------------------------
 // Windows(tm) specific
 // ---------------------------------------------------------------------------
 // wxSocket headers (generic)
 // ---------------------------------------------------------------------------
 #ifdef WXPREC
-#include <wx/wxprec.h>
+  #include "wx/wxprec.h"
 #else
-#include <wx/wx.h>
+  #include "wx/event.h"
+  #include "wx/string.h"
 #endif
+
 #include "wx/sckaddr.h"
 
 class WXDLLEXPORT wxSocketEvent;
@@ -278,3 +284,7 @@ typedef void (wxEvtHandler::*wxSocketEventFunction)(wxSocketEvent&);
   (wxObject *) NULL  },
 
 #endif
+  // wxUSE_SOCKETS
+
+#endif
+  // _WX_NETWORK_SOCKET_H