// can sometimes be very useful (e.g. under MSW this is necessary for
// integration with MFC) but currently this is done for MSW only, other ports
// should follow a.s.a.p.
-#ifdef __WXMSW__
+#if defined(__WXPALMOS__)
+ #include "wx/palmos/evtloop.h"
+#elif defined(__WXMSW__)
#include "wx/msw/evtloop.h"
#else
virtual void Exit(int rc = 0);
virtual bool Pending() const;
virtual bool Dispatch();
- virtual bool IsRunning() const { return m_impl != NULL; }
+ virtual bool IsRunning() const { return GetActive() == this; }
protected:
// the pointer to the port specific implementation class