X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4876436a6240109da0b947c4333b75eb98525d70..b955766e883accfd019d7ebd8261afb8098213ef:/interface/wx/sckipc.h?ds=sidebyside diff --git a/interface/wx/sckipc.h b/interface/wx/sckipc.h index db37476d38..719a6ea4be 100644 --- a/interface/wx/sckipc.h +++ b/interface/wx/sckipc.h @@ -3,7 +3,7 @@ // Purpose: interface of wxTCPServer // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -31,13 +31,7 @@ enum wxIPCFormat wxIPC_LOCALE = 16, wxIPC_UTF8TEXT = 17, wxIPC_UTF32TEXT = 18, -#if SIZEOF_WCHAR_T == 2 - wxIPC_UNICODETEXT = wxIPC_UTF16TEXT, -#elif SIZEOF_WCHAR_T == 4 - wxIPC_UNICODETEXT = wxIPC_UTF32TEXT, -#else -# error "Unknown wchar_t size" -#endif + wxIPC_UNICODETEXT, wxIPC_PRIVATE = 20 }; @@ -328,7 +322,7 @@ public: Returns a character string (actually a pointer to the connection's buffer) if successful, @NULL otherwise. */ - const void* Request(const wxString& item, size_t* size, + virtual const void* Request(const wxString& item, size_t* size = 0, wxIPCFormat format = wxIPC_TEXT); /**