X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0fdf3914bf957feeadbac5a77505fc98d65e9b..0a8d6945ae4e3cb5b704410d922846226083ea4e:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 6f93301d0a..c69c55ffa4 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -297,6 +297,8 @@ wxEventLoopBase* wxGUIAppTraits::CreateEventLoop() #ifndef __WXWINCE__ +#if wxUSE_DYNLIB_CLASS + #include namespace @@ -573,6 +575,20 @@ bool wxGUIAppTraits::WriteToStderr(const wxString& text) return s_consoleStderr.IsOkToUse() && s_consoleStderr.Write(text); } +#else // !wxUSE_DYNLIB_CLASS + +bool wxGUIAppTraits::CanUseStderr() +{ + return false; +} + +bool wxGUIAppTraits::WriteToStderr(const wxString& WXUNUSED(text)) +{ + return false; +} + +#endif // wxUSE_DYNLIB_CLASS/!wxUSE_DYNLIB_CLASS + #endif // !__WXWINCE__ // ===========================================================================