X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2804f77d88eb478f85a281b19d87e38cd96e0d0c..6d0d84554854a19db991ba64e7e034e1fc898ef0:/src/msw/basemsw.cpp?ds=inline diff --git a/src/msw/basemsw.cpp b/src/msw/basemsw.cpp index 5308abebe3..5af350eb5a 100644 --- a/src/msw/basemsw.cpp +++ b/src/msw/basemsw.cpp @@ -35,6 +35,7 @@ // wxBase.dll, and MSVC 5 will give linker errors #include "wx/recguard.h" +#include "wx/crt.h" #include "wx/msw/private.h" // ============================================================================ @@ -108,3 +109,7 @@ WXDWORD wxConsoleAppTraits::WaitForThread(WXHANDLE hThread) return DoSimpleWaitForThread(hThread); } +bool wxConsoleAppTraits::WriteToStderr(const wxString& text) +{ + return wxFprintf(stderr, "%s", text) != -1; +}