]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sckipc.h
Standard frame resource defines for OS/2
[wxWidgets.git] / include / wx / sckipc.h
index 6f5e695f02c415073df27bd1bdb7f47fe6abfbd7..c88d5fd19c669da1b9a5f04edaf11de37b8bc877 100644 (file)
@@ -20,7 +20,9 @@
 #endif
 
 #include "wx/defs.h"
-#include "wx/setup.h"
+
+#if wxUSE_SOCKETS
+
 #include "wx/ipcbase.h"
 #include "wx/socket.h"
 #include "wx/sckstrm.h"
@@ -95,6 +97,11 @@ protected:
                                wxSocketNotify, char *);
 
 private:
+  //
+  // We're hiding an Execute method in ConnectionBase
+  //s
+  virtual bool Execute(const wxString& str)
+  { return Execute(str, -1, wxIPC_TEXT); }
 };
 
 class wxTCPServer: public wxServerBase
@@ -131,4 +138,6 @@ public:
   virtual wxConnectionBase *OnMakeConnection();
 };
 
+#endif // wxUSE_SOCKETS
+
 #endif // ipcsock.h