X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4876436a6240109da0b947c4333b75eb98525d70..1fb08526acab831aacfd4549efd32f84b31a24a5:/interface/wx/sckipc.h?ds=sidebyside diff --git a/interface/wx/sckipc.h b/interface/wx/sckipc.h index db37476d38..6f7b08d2fa 100644 --- a/interface/wx/sckipc.h +++ b/interface/wx/sckipc.h @@ -2,8 +2,7 @@ // Name: sckipc.h // Purpose: interface of wxTCPServer // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -31,13 +30,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 +321,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); /**