X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4d5e0098a085526d00198f46d21d69a3514407e..7946d7deaac081a745dc616a5eb13ae864865fa2:/samples/sockets/server.cpp diff --git a/samples/sockets/server.cpp b/samples/sockets/server.cpp index d43fc768b9..aef4d493d1 100644 --- a/samples/sockets/server.cpp +++ b/samples/sockets/server.cpp @@ -41,7 +41,7 @@ // -------------------------------------------------------------------------- // the application icon -#if defined(__WXGTK__) || defined(__WXMOTIF__) +#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) # include "mondrian.xpm" #endif @@ -370,8 +370,6 @@ void MyFrame::OnSocketEvent(wxSocketEvent& event) // wxSocketEvent again. sock->SetNotify(wxSOCKET_LOST_FLAG); - m_text->AppendText(); - // Which test are we going to run? unsigned char c; sock->Read(&c, 1);