X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..125e7c11c16f23daa4c594f3b8d90194099c2394:/src/palmos/base.cpp diff --git a/src/palmos/base.cpp b/src/palmos/base.cpp index 6d83ddb485..d25c40f061 100644 --- a/src/palmos/base.cpp +++ b/src/palmos/base.cpp @@ -1,10 +1,10 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: palmos/basemsw.cpp +// Name: src/palmos/basemsw.cpp // Purpose: misc stuff only used in applications under PalmOS -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10.13.2004 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2004 William Osborne // License: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -28,17 +28,13 @@ #endif //WX_PRECOMP #include "wx/apptrait.h" - #include "wx/recguard.h" +#include "wx/evtloop.h" // wxEventLoop // ============================================================================ // wxConsoleAppTraits implementation // ============================================================================ -void wxConsoleAppTraits::AlwaysYield() -{ -} - void *wxConsoleAppTraits::BeforeChildWaitLoop() { return NULL; @@ -53,3 +49,17 @@ bool wxConsoleAppTraits::DoMessageFromThreadWait() return true; } +WXDWORD wxConsoleAppTraits::WaitForThread(WXHANDLE hThread) +{ + // TODO + return 0; +} + +#if wxUSE_CONSOLE_EVENTLOOP +wxEventLoopBase * +wxConsoleAppTraits::CreateEventLoop() +{ + return new wxEventLoop; +} +#endif // wxUSE_CONSOLE_EVENTLOOP +