X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e9ca79b3cf1db72f842a57c82616ed3a8e682bd..0738b901b17340f09766524b8d9d79e9ed1268e7:/samples/ipc/connection.h diff --git a/samples/ipc/connection.h b/samples/ipc/connection.h index 42d1816a07..bf01ab5d3e 100644 --- a/samples/ipc/connection.h +++ b/samples/ipc/connection.h @@ -36,23 +36,23 @@ protected: switch (format) { case wxIPC_TEXT: - s += wxString(wx_static_cast(const char *, data), size); + s += wxString(static_cast(data), size); break; #if wxUSE_UNICODE case wxIPC_UNICODETEXT: - s += wxString(wx_static_cast(const wchar_t *, data), size); + s += wxString(static_cast(data), size); break; #endif // wxUSE_UNICODE case wxIPC_UTF8TEXT: - s += wxString::FromUTF8(wx_static_cast(const char *, data), size); + s += wxString::FromUTF8(static_cast(data), size); break; case wxIPC_PRIVATE: if ( size == 3 ) { - const char *bytes = wx_static_cast(const char *, data); + const char *bytes = static_cast(data); s << '"' << bytes[0] << bytes[1] << bytes[2] << '"'; } else