X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4876436a6240109da0b947c4333b75eb98525d70..8bd410eb8082d9e009ece7cc279faa5f73ea1f5e:/interface/wx/sckipc.h diff --git a/interface/wx/sckipc.h b/interface/wx/sckipc.h index db37476d38..449bf7a053 100644 --- a/interface/wx/sckipc.h +++ b/interface/wx/sckipc.h @@ -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); /**