]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/server.cpp
A fix for attribrute sorting, but it's still broken if there are
[wxWidgets.git] / samples / sockets / server.cpp
index d43fc768b9bcfcd0a480ef154b8dfd853440ac7e..aef4d493d19a7ae73cf9da1b89b9e41e6cc90f80 100644 (file)
@@ -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);