No real changes, just make this flag available to the other event loop
implementations as they will need it soon.
See #10258.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74332
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// the pointer to currently active loop
static wxEventLoopBase *ms_activeLoop;
+ // should we exit the loop?
+ bool m_shouldExit;
+
// YieldFor() helpers:
bool m_isInsideYield;
long m_eventsToProcessInsideYield;
// the loop exit code
int m_exitcode;
- // should we exit the loop?
- bool m_shouldExit;
-
private:
// process all already pending events and dispatch a new one (blocking
// until it appears in the event queue if necessary)
virtual void OSXDoRun();
virtual void OSXDoStop();
- // should we exit the loop?
- bool m_shouldExit;
-
// the loop exit code
int m_exitcode;
wxEventLoopBase::wxEventLoopBase()
{
+ m_shouldExit = false;
+
m_isInsideYield = false;
m_eventsToProcessInsideYield = wxEVT_CATEGORY_ALL;
}
wxEventLoopManual::wxEventLoopManual()
{
m_exitcode = 0;
- m_shouldExit = false;
}
bool wxEventLoopManual::ProcessEvents()