diff --git a/samples/sockets/client.cpp b/samples/sockets/client.cpp index 0fdd4fff83..a33c01c74a 100644 --- a/samples/sockets/client.cpp +++ b/samples/sockets/client.cpp @@ -528,9 +528,9 @@ void MyFrame::OnCloseConnection(wxCommandEvent& WXUNUSED(event)) void MyFrame::OnDatagram(wxCommandEvent& WXUNUSED(event)) { - m_text->AppendText(_("=== Datagram test begins ===")); - m_text->AppendText(_("Sorry, not implemented")); - m_text->AppendText(_("=== Datagram test ends ===")); + m_text->AppendText(_("=== Datagram test begins ===\n")); + m_text->AppendText(_("Sorry, not implemented\n")); + m_text->AppendText(_("=== Datagram test ends ===\n")); } void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event)) diff --git a/samples/sockets/server.cpp b/samples/sockets/server.cpp index e6863239cd..678e668551 100644 --- a/samples/sockets/server.cpp +++ b/samples/sockets/server.cpp @@ -264,7 +264,7 @@ void MyFrame::Test2(wxSocketBase *sock) s.Printf(_("Client says: %s\n"), buf); m_text->AppendText(s); - m_text->AppendText(_("Sending the data back")); + m_text->AppendText(_("Sending the data back\n")); sock->WriteMsg(buf, len); delete[] buf;