X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0f88b1ac7931c2f118a885cad894a1dc9ec7615..fba41cf33a3952077133d387f2cc49d211f3d893:/src/msw/basemsw.cpp?ds=sidebyside diff --git a/src/msw/basemsw.cpp b/src/msw/basemsw.cpp index 4ba9b8b091..3ef53a321b 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" // ============================================================================ @@ -106,3 +107,7 @@ WXDWORD wxConsoleAppTraits::WaitForThread(WXHANDLE hThread) return DoSimpleWaitForThread(hThread); } +bool wxConsoleAppTraits::WriteToStderr(const wxString& text) +{ + return wxFprintf(stderr, "%s", text) != -1; +}