]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/client.cpp
Made funcs extern...
[wxWidgets.git] / samples / sockets / client.cpp
index 3ba76e9bf276ac112d581ccab46e6f628632aa3b..17781498d8ff6b65b204bef2bdcac4713e5359cd 100644 (file)
@@ -571,7 +571,8 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
   wxYield();
 
   // Get the data
-  wxFileOutputStream sout( wxT("test.url") );
+  wxFile fileTest(wxT("test.url"));
+  wxFileOutputStream sout(fileTest);
   if (!sout.Ok())
   {
     m_text->AppendText(_("Error: couldn't open file for output\n"));