X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/788233da909b0f6bc684a99200c614e3dee2aa20..1e52188741389278cd99abf79218162c87024ba3:/samples/sockets/client.cpp diff --git a/samples/sockets/client.cpp b/samples/sockets/client.cpp index 94e010410e..17781498d8 100644 --- a/samples/sockets/client.cpp +++ b/samples/sockets/client.cpp @@ -571,7 +571,8 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event)) wxYield(); // Get the data - wxFileOutputStream sout(wxString("test.url")); + wxFile fileTest(wxT("test.url")); + wxFileOutputStream sout(fileTest); if (!sout.Ok()) { m_text->AppendText(_("Error: couldn't open file for output\n"));