]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/client.cpp
don't crash when invalid colour is set as fg/bg colour
[wxWidgets.git] / samples / sockets / client.cpp
index 2bbe2a99492cb9f4c43e7ff9e316daee1b219713..ec02f7eada976c34a76c9472dc5c4a6caf71ed33 100644 (file)
@@ -43,7 +43,7 @@
 // --------------------------------------------------------------------------
 
 // the application icon
-#if defined(__WXGTK__) || defined(__WXMOTIF__)
+#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__)
 #  include "mondrian.xpm"
 #endif
 
@@ -486,7 +486,6 @@ void MyFrame::OnTest3(wxCommandEvent& WXUNUSED(event))
   m_sock->SetFlags(wxSOCKET_WAITALL);
 
   // Note that len is in kbytes here!
-  // Also note that Linux kernel 2.0.36 gives up at len > 27.
   len  = 32;
   buf1 = new char[len * 1024];
   buf2 = new char[len * 1024];