projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
missing headers for !USE_PCH compilation
[wxWidgets.git]
/
samples
/
sockets
/
client.cpp
diff --git
a/samples/sockets/client.cpp
b/samples/sockets/client.cpp
index 3ba76e9bf276ac112d581ccab46e6f628632aa3b..17781498d8ff6b65b204bef2bdcac4713e5359cd 100644
(file)
--- a/
samples/sockets/client.cpp
+++ b/
samples/sockets/client.cpp
@@
-571,7
+571,8
@@
void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
wxYield();
// Get the data
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"));
if (!sout.Ok())
{
m_text->AppendText(_("Error: couldn't open file for output\n"));