X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4693b20c7500190c3cc8c02919c45436bf5efbc9..b911bc32a17f592214fcc37bb942ad3f355e6893:/samples/sockets/client.cpp diff --git a/samples/sockets/client.cpp b/samples/sockets/client.cpp index d99ef0205d..3ba76e9bf2 100644 --- a/samples/sockets/client.cpp +++ b/samples/sockets/client.cpp @@ -17,7 +17,7 @@ // headers // -------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) # pragma implementation "client.cpp" # pragma interface "client.cpp" #endif @@ -43,7 +43,7 @@ // -------------------------------------------------------------------------- // the application icon -#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) +#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) # include "mondrian.xpm" #endif @@ -571,7 +571,7 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event)) wxYield(); // Get the data - wxFileOutputStream sout(wxString("test.url")); + wxFileOutputStream sout( wxT("test.url") ); if (!sout.Ok()) { m_text->AppendText(_("Error: couldn't open file for output\n"));