replaced a wrong _() with _T() (small part of patch 1822769)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -342,10 +342,6 @@ void MyFrame::OnOpenConnection(wxCommandEvent& WXUNUSED(event))
|
|||||||
|
|
||||||
void MyFrame::OnTest1(wxCommandEvent& WXUNUSED(event))
|
void MyFrame::OnTest1(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
const wxChar *buf1;
|
|
||||||
wxChar *buf2;
|
|
||||||
unsigned char len;
|
|
||||||
|
|
||||||
// Disable socket menu entries (exception: Close Session)
|
// Disable socket menu entries (exception: Close Session)
|
||||||
m_busy = true;
|
m_busy = true;
|
||||||
UpdateStatusBar();
|
UpdateStatusBar();
|
||||||
@@ -370,9 +366,9 @@ void MyFrame::OnTest1(wxCommandEvent& WXUNUSED(event))
|
|||||||
|
|
||||||
m_sock->SetFlags(wxSOCKET_WAITALL);
|
m_sock->SetFlags(wxSOCKET_WAITALL);
|
||||||
|
|
||||||
buf1 = _("Test string (less than 256 chars!)");
|
const wxChar *buf1 = _T("Test string (less than 256 chars!)");
|
||||||
len = (unsigned char)((wxStrlen(buf1) + 1) * sizeof(wxChar));
|
unsigned char len = (unsigned char)((wxStrlen(buf1) + 1)*sizeof(wxChar));
|
||||||
buf2 = new wxChar[wxStrlen(buf1) + 1];
|
wxChar *buf2 = new wxChar[wxStrlen(buf1) + 1];
|
||||||
|
|
||||||
m_text->AppendText(_("Sending a test buffer to the server ..."));
|
m_text->AppendText(_("Sending a test buffer to the server ..."));
|
||||||
m_sock->Write(&len, 1);
|
m_sock->Write(&len, 1);
|
||||||
|
Reference in New Issue
Block a user