]>
git.saurik.com Git - wxWidgets.git/blob - src/msw/basemsw.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: msw/basemsw.cpp
3 // Purpose: misc stuff only used in console applications under MSW
4 // Author: Vadim Zeitlin
8 // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
9 // License: wxWindows license
10 ///////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 // for compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
30 #include "wx/apptrait.h"
31 // MBN: this is a workaround for MSVC 5: if it is not #included in
32 // some wxBase file, wxRecursionGuard methods won't be exported from
33 // wxBase.dll, and MSVC 5 will give linker errors
34 #include "wx/recguard.h"
36 #include "wx/msw/private.h"
38 // ============================================================================
39 // wxConsoleAppTraits implementation
40 // ============================================================================
42 void wxConsoleAppTraits::AlwaysYield()
45 while ( ::PeekMessage(&msg
, NULL
, 0, 0, PM_REMOVE
) )
49 void *wxConsoleAppTraits::BeforeChildWaitLoop()
55 void wxConsoleAppTraits::AfterChildWaitLoop(void * WXUNUSED(data
))
60 bool wxConsoleAppTraits::DoMessageFromThreadWait()
62 // nothing to process here