projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define KEY_WOW64_64KEY if it is missing from SDK headers.
[wxWidgets.git]
/
src
/
palmos
/
base.cpp
diff --git
a/src/palmos/base.cpp
b/src/palmos/base.cpp
index 6d83ddb4856f7aa19eb93899e16c669b809ec8fa..e7dc5bb9e5c828f0449fa45ca5b9f403e94bfed3 100644
(file)
--- a/
src/palmos/base.cpp
+++ b/
src/palmos/base.cpp
@@
-1,12
+1,12
@@
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
-// Name: palmos/basemsw.cpp
+// Name:
src/
palmos/basemsw.cpp
// Purpose: misc stuff only used in applications under PalmOS
// 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
// Modified by:
// Created: 10.13.2004
-// RCS-ID: $Id
:
+// RCS-ID: $Id
$
// Copyright: (c) 2004 William Osborne
// Copyright: (c) 2004 William Osborne
-// Licen
s
e: wxWindows licence
+// Licen
c
e: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
@@
-28,17
+28,13
@@
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
-
#include "wx/recguard.h"
#include "wx/recguard.h"
+#include "wx/evtloop.h" // wxEventLoop
// ============================================================================
// wxConsoleAppTraits implementation
// ============================================================================
// ============================================================================
// wxConsoleAppTraits implementation
// ============================================================================
-void wxConsoleAppTraits::AlwaysYield()
-{
-}
-
void *wxConsoleAppTraits::BeforeChildWaitLoop()
{
return NULL;
void *wxConsoleAppTraits::BeforeChildWaitLoop()
{
return NULL;
@@
-53,3
+49,17
@@
bool wxConsoleAppTraits::DoMessageFromThreadWait()
return true;
}
return true;
}
+WXDWORD wxConsoleAppTraits::WaitForThread(WXHANDLE hThread)
+{
+ // TODO
+ return 0;
+}
+
+#if wxUSE_CONSOLE_EVENTLOOP
+wxEventLoopBase *
+wxConsoleAppTraits::CreateEventLoop()
+{
+ return new wxEventLoop;
+}
+#endif // wxUSE_CONSOLE_EVENTLOOP
+