X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a64a02efae878d215ac237db36d618e2dde62a68..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/common/socket.cpp diff --git a/src/common/socket.cpp b/src/common/socket.cpp index 3ce909364e..0f7a633165 100644 --- a/src/common/socket.cpp +++ b/src/common/socket.cpp @@ -45,11 +45,11 @@ #include "wx/socket.h" -#if defined(__WXMSW__) || defined(__WXPM__) -#define PROCESS_EVENTS() wxYield() +#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXMOTIF__) || defined(__WXMAC__) + #define PROCESS_EVENTS() wxYield() #elif defined(__WXGTK__) -#include -#define PROCESS_EVENTS() gtk_main_iteration() + #include + #define PROCESS_EVENTS() gtk_main_iteration() #endif @@ -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;