X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec38d07d0343b3fc5af03becd17ce798b96e05db..4e621d24713f971d1a2d440f79ccc4593aede4b6:/interface/wx/evtloop.h diff --git a/interface/wx/evtloop.h b/interface/wx/evtloop.h index 41e4316355..4e42be0dc4 100644 --- a/interface/wx/evtloop.h +++ b/interface/wx/evtloop.h @@ -4,7 +4,7 @@ // Author: Vadim Zeitlin // Copyright: (C) 2008 Vadim Zeitlin // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -18,6 +18,7 @@ An object of this class is created by wxAppTraits::CreateEventLoop() and used by wxApp to run the main application event loop. + Temporary event loops are usually created by wxDialog::ShowModal(). You can create your own event loop if you need, provided that you restore the main event loop once yours is destroyed (see wxEventLoopActivator). @@ -145,41 +146,6 @@ public: //@} - /** - @name Pending events - */ - //@{ - - /** - Process all pending events; it is necessary to call this function to - process posted events. - - This happens during each event loop iteration in GUI mode but - it may be also called directly. - */ - virtual void ProcessPendingEvents(); - - /** - Returns @true if there are pending events on the internal pending event list. - */ - bool HasPendingEvents() const; - - /** - Temporary suspends processing of the pending events. - - @see ResumeProcessingOfPendingEvents() - */ - void SuspendProcessingOfPendingEvents(); - - /** - Resume processing of the pending events previously stopped because of a - call to SuspendProcessingOfPendingEvents(). - */ - void ResumeProcessingOfPendingEvents(); - - //@} - - /** @name Idle handling */ @@ -320,3 +286,20 @@ public: */ ~wxEventLoopActivator(); }; + +/** + @class wxGUIEventLoop + + A generic implementation of the GUI event loop. + + @library{wxbase} + @category{appmanagement} +*/ +class wxGUIEventLoop : public wxEventLoopBase +{ +public: + wxGUIEventLoop(); + virtual ~wxGUIEventLoop(); +}; + +