]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/client.cpp
fixes for new lib dirs for wxMSW
[wxWidgets.git] / samples / sockets / client.cpp
index 94e010410e2960525df5e6b3f49d7d66ffbf3a26..17781498d8ff6b65b204bef2bdcac4713e5359cd 100644 (file)
@@ -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"));