X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4d5e0098a085526d00198f46d21d69a3514407e..665bbe97a9faddd31f99ab8ca3859e2f98ad0d21:/samples/sockets/client.cpp diff --git a/samples/sockets/client.cpp b/samples/sockets/client.cpp index c404cb8032..ea1f02c814 100644 --- a/samples/sockets/client.cpp +++ b/samples/sockets/client.cpp @@ -486,7 +486,6 @@ void MyFrame::OnTest3(wxCommandEvent& WXUNUSED(event)) m_sock->SetFlags(wxSOCKET_WAITALL); // Note that len is in kbytes here! - // Also note that Linux kernel 2.0.36 gives up at len > 27. len = 32; buf1 = new char[len * 1024]; buf2 = new char[len * 1024]; @@ -543,7 +542,7 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event)) m_text->AppendText(_("\n=== URL test begins ===\n")); wxString urlname = wxGetTextFromUser(_("Enter an URL to get"), _("URL:"), - _("http://localhost")); + _T("http://localhost")); // Parse the URL wxURL url(urlname);