X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85ac091e8f73699af40dff1f26f53fafd5d95178..ad115b2d656d79790b41b88d6dd578f0e624612c:/include/wx/sckipc.h diff --git a/include/wx/sckipc.h b/include/wx/sckipc.h index 6f5e695f02..c88d5fd19c 100644 --- a/include/wx/sckipc.h +++ b/include/wx/sckipc.h @@ -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