X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25ba2b89d714b069117e8053dd83db00547110fd..21d734041a03f529324bee976300ec395d798193:/samples/sockets/client.cpp diff --git a/samples/sockets/client.cpp b/samples/sockets/client.cpp index 7ba1dd698f..2240786c19 100644 --- a/samples/sockets/client.cpp +++ b/samples/sockets/client.cpp @@ -556,7 +556,7 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event)) wxYield(); // Get the data - wxFileOutputStream sout("test.url"); + wxFileOutputStream sout(wxString("test.url")); data->Read(sout); m_text->AppendText(_("Results written to file: test.url\n")); m_text->AppendText(_("Done.\n"));