]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/base.cpp
No changes, synchronised source names that appear commented at the top of files with...
[wxWidgets.git] / src / palmos / base.cpp
index db93d42b96d7d7e5012c7d8921687452833f72a1..2feeb27b1203dcb9d535c0957857b6f34c9aa4a0 100644 (file)
@@ -1,12 +1,12 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        src/palmos/basemsw.cpp
+// Name:        src/palmos/base.cpp
 // Purpose:     misc stuff only used in applications under PalmOS
 // Author:      William Osborne - minimal working wxPalmOS port
 // Modified by:
 // Created:     10.13.2004
 // RCS-ID:      $Id$
 // Copyright:   (c) 2004 William Osborne
-// License:     wxWindows licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
 #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
+