X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..4850cc8b2e1037cd394806db4ddcf73868588a4c:/include/wx/palmos/evtloop.h diff --git a/include/wx/palmos/evtloop.h b/include/wx/palmos/evtloop.h index b0dadde7e5..36341946e8 100644 --- a/include/wx/palmos/evtloop.h +++ b/include/wx/palmos/evtloop.h @@ -1,10 +1,10 @@ /////////////////////////////////////////////////////////////////////////////// // Name: wx/palmos/evtloop.h // Purpose: wxEventLoop class for Palm OS -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 2004-10-14 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -16,16 +16,17 @@ // wxEventLoop // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxEventLoop : public wxEventLoopBase +class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopBase { public: - wxEventLoop(); + wxGUIEventLoop(); // implement base class pure virtuals virtual int Run(); virtual void Exit(int rc = 0); virtual bool Pending() const; virtual bool Dispatch(); + virtual int DispatchTimeout(unsigned long timeout); virtual bool IsRunning() const; // MSW-specific methods @@ -37,6 +38,7 @@ public: // process a single message virtual void ProcessMessage(WXMSG *msg); + virtual void WakeUp(); protected: // should we exit the loop?