X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4d5e0098a085526d00198f46d21d69a3514407e..2b96d0fb4be7d684c17987d74f8f92d0cfe345b5:/samples/sockets/client.cpp diff --git a/samples/sockets/client.cpp b/samples/sockets/client.cpp index c404cb8032..ec02f7eada 100644 --- a/samples/sockets/client.cpp +++ b/samples/sockets/client.cpp @@ -43,7 +43,7 @@ // -------------------------------------------------------------------------- // the application icon -#if defined(__WXGTK__) || defined(__WXMOTIF__) +#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) # include "mondrian.xpm" #endif @@ -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);