made strings used in wxIPC methods const as a temporary compilation fix (they will need to be also made void* and not wxChar* later) (patch 1759924)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-27 23:59:11 +00:00
parent fc9361e3ec
commit 1e0f0a90e0
12 changed files with 47 additions and 47 deletions

View File

@@ -443,7 +443,7 @@ wxChar *wxTCPConnection::Request (const wxString& item, int *size, wxIPCFormat f
}
}
bool wxTCPConnection::Poke (const wxString& item, wxChar *data, int size, wxIPCFormat format)
bool wxTCPConnection::Poke (const wxString& item, const wxChar *data, int size, wxIPCFormat format)
{
if (!m_sock->IsConnected())
return false;
@@ -499,7 +499,7 @@ bool wxTCPConnection::StopAdvise (const wxString& item)
// Calls that SERVER can make
bool wxTCPConnection::Advise (const wxString& item,
wxChar *data, int size, wxIPCFormat format)
const wxChar *data, int size, wxIPCFormat format)
{
if (!m_sock->IsConnected())
return false;
@@ -648,7 +648,7 @@ void wxTCPEventHandler::Client_OnRequest(wxSocketEvent &event)
format = (wxIPCFormat)codeci->Read8();
int user_size = -1;
wxChar *user_data = connection->OnRequest (topic_name, item, &user_size, format);
const wxChar *user_data = connection->OnRequest (topic_name, item, &user_size, format);
if (user_data)
{