| 1 | /////////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: src/palmos/basemsw.cpp |
| 3 | // Purpose: misc stuff only used in applications under PalmOS |
| 4 | // Author: William Osborne - minimal working wxPalmOS port |
| 5 | // Modified by: |
| 6 | // Created: 10.13.2004 |
| 7 | // RCS-ID: $Id$ |
| 8 | // Copyright: (c) 2004 William Osborne |
| 9 | // License: wxWindows licence |
| 10 | /////////////////////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | // ============================================================================ |
| 13 | // declarations |
| 14 | // ============================================================================ |
| 15 | |
| 16 | // ---------------------------------------------------------------------------- |
| 17 | // headers |
| 18 | // ---------------------------------------------------------------------------- |
| 19 | |
| 20 | // for compilers that support precompilation, includes "wx.h". |
| 21 | #include "wx/wxprec.h" |
| 22 | |
| 23 | #ifdef __BORLANDC__ |
| 24 | #pragma hdrstop |
| 25 | #endif |
| 26 | |
| 27 | #ifndef WX_PRECOMP |
| 28 | #endif //WX_PRECOMP |
| 29 | |
| 30 | #include "wx/apptrait.h" |
| 31 | |
| 32 | #include "wx/recguard.h" |
| 33 | |
| 34 | // ============================================================================ |
| 35 | // wxConsoleAppTraits implementation |
| 36 | // ============================================================================ |
| 37 | |
| 38 | void wxConsoleAppTraits::AlwaysYield() |
| 39 | { |
| 40 | } |
| 41 | |
| 42 | void *wxConsoleAppTraits::BeforeChildWaitLoop() |
| 43 | { |
| 44 | return NULL; |
| 45 | } |
| 46 | |
| 47 | void wxConsoleAppTraits::AfterChildWaitLoop(void * WXUNUSED(data)) |
| 48 | { |
| 49 | } |
| 50 | |
| 51 | bool wxConsoleAppTraits::DoMessageFromThreadWait() |
| 52 | { |
| 53 | return true; |
| 54 | } |
| 55 | |