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:
@@ -417,7 +417,7 @@ MyClient::~MyClient()
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void MyConnection::Log(const wxString& command, const wxString& topic,
|
||||
const wxString& item, wxChar *data, int size, wxIPCFormat format)
|
||||
const wxString& item, const wxChar *data, int size, wxIPCFormat format)
|
||||
{
|
||||
wxString s;
|
||||
if (topic.IsEmpty() && item.IsEmpty())
|
||||
@@ -475,7 +475,7 @@ wxChar *MyConnection::Request(const wxString& item, int *size, wxIPCFormat forma
|
||||
return data;
|
||||
}
|
||||
|
||||
bool MyConnection::Poke(const wxString& item, wxChar *data, int size, wxIPCFormat format)
|
||||
bool MyConnection::Poke(const wxString& item, const wxChar *data, int size, wxIPCFormat format)
|
||||
{
|
||||
Log(_T("Poke"), wxEmptyString, item, data, size, format);
|
||||
return wxConnection::Poke(item, data, size, format);
|
||||
|
Reference in New Issue
Block a user