]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
Added calendar contributed by Lorne White
[wxWidgets.git] / src / common / socket.cpp
index 9c09cdbe3a636a9bcf259dfd1620f9d61fad4c29..0f7a63316572f5aa12582fd38cc4dd34d8598285 100644 (file)
@@ -45,7 +45,7 @@
 #include "wx/socket.h"
 
 
-#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMOTIF__)
+#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMOTIF__) || defined(__WXMAC__)
     #define PROCESS_EVENTS() wxYield()
 #elif defined(__WXGTK__)
     #include <gtk/gtk.h>
@@ -452,7 +452,7 @@ wxUint32 wxSocketBase::DeferWrite(const char *buffer, wxUint32 nbytes)
   m_defering = NO_DEFER;
 
   wxString s;
-  s.Printf("Saliendo de DeferWrite: total %d bytes", nbytes-m_defer_nbytes);
+  s.Printf(wxT("Saliendo de DeferWrite: total %d bytes"), nbytes-m_defer_nbytes);
   //wxLogMessage(s);
 
   return nbytes-m_defer_nbytes;