Oh well..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -528,9 +528,9 @@ void MyFrame::OnCloseConnection(wxCommandEvent& WXUNUSED(event))
|
|||||||
|
|
||||||
void MyFrame::OnDatagram(wxCommandEvent& WXUNUSED(event))
|
void MyFrame::OnDatagram(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
m_text->AppendText(_("=== Datagram test begins ==="));
|
m_text->AppendText(_("=== Datagram test begins ===\n"));
|
||||||
m_text->AppendText(_("Sorry, not implemented"));
|
m_text->AppendText(_("Sorry, not implemented\n"));
|
||||||
m_text->AppendText(_("=== Datagram test ends ==="));
|
m_text->AppendText(_("=== Datagram test ends ===\n"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
|
void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
|
||||||
|
@@ -264,7 +264,7 @@ void MyFrame::Test2(wxSocketBase *sock)
|
|||||||
|
|
||||||
s.Printf(_("Client says: %s\n"), buf);
|
s.Printf(_("Client says: %s\n"), buf);
|
||||||
m_text->AppendText(s);
|
m_text->AppendText(s);
|
||||||
m_text->AppendText(_("Sending the data back"));
|
m_text->AppendText(_("Sending the data back\n"));
|
||||||
|
|
||||||
sock->WriteMsg(buf, len);
|
sock->WriteMsg(buf, len);
|
||||||
delete[] buf;
|
delete[] buf;
|
||||||
|
Reference in New Issue
Block a user