]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/base.cpp
Committed William Osborne's wxPalmOS port
[wxWidgets.git] / src / palmos / base.cpp
diff --git a/src/palmos/base.cpp b/src/palmos/base.cpp
new file mode 100644 (file)
index 0000000..6d83ddb
--- /dev/null
@@ -0,0 +1,55 @@
+///////////////////////////////////////////////////////////////////////////////
+// Name:        palmos/basemsw.cpp
+// Purpose:     misc stuff only used in applications under PalmOS
+// Author:      William Osborne
+// Modified by:
+// Created:     10.13.2004
+// RCS-ID:      $Id: 
+// Copyright:   (c) 2004 William Osborne
+// License:     wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+    #pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#endif //WX_PRECOMP
+
+#include "wx/apptrait.h"
+
+#include "wx/recguard.h"
+
+// ============================================================================
+// wxConsoleAppTraits implementation
+// ============================================================================
+
+void wxConsoleAppTraits::AlwaysYield()
+{
+}
+
+void *wxConsoleAppTraits::BeforeChildWaitLoop()
+{
+    return NULL;
+}
+
+void wxConsoleAppTraits::AfterChildWaitLoop(void * WXUNUSED(data))
+{
+}
+
+bool wxConsoleAppTraits::DoMessageFromThreadWait()
+{
+    return true;
+}
+