X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0f88b1ac7931c2f118a885cad894a1dc9ec7615..60ee01727442e8b364825cd965a3e06c21f07833:/src/msw/basemsw.cpp?ds=inline diff --git a/src/msw/basemsw.cpp b/src/msw/basemsw.cpp index 4ba9b8b091..5af350eb5a 100644 --- a/src/msw/basemsw.cpp +++ b/src/msw/basemsw.cpp @@ -35,12 +35,15 @@ // wxBase.dll, and MSVC 5 will give linker errors #include "wx/recguard.h" +#include "wx/crt.h" #include "wx/msw/private.h" // ============================================================================ // wxAppTraits implementation // ============================================================================ +GSocketManager *wxAppTraits::ms_manager = NULL; + WXDWORD wxAppTraits::DoSimpleWaitForThread(WXHANDLE hThread) { return ::WaitForSingleObject((HANDLE)hThread, INFINITE); @@ -106,3 +109,7 @@ WXDWORD wxConsoleAppTraits::WaitForThread(WXHANDLE hThread) return DoSimpleWaitForThread(hThread); } +bool wxConsoleAppTraits::WriteToStderr(const wxString& text) +{ + return wxFprintf(stderr, "%s", text) != -1; +}