]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/sockets/client.cpp
wxMGL support
[wxWidgets.git] / samples / sockets / client.cpp
index c404cb8032b74b003f9c73ec14d521da926535fa..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];
@@ -543,7 +542,7 @@ void MyFrame::OnTestURL(wxCommandEvent& WXUNUSED(event))
   m_text->AppendText(_("\n=== URL test begins ===\n"));
   wxString urlname = wxGetTextFromUser(_("Enter an URL to get"),
                                        _("URL:"),
-                                       _("http://localhost"));
+                                       _T("http://localhost"));
 
   // Parse the URL
   wxURL url(urlname);