static void CleanUp();
bool ProcessIdle();
+#if wxUSE_THREADS
+ void ProcessPendingEvents();
+#endif
void DeletePendingObjects();
+ /// This can be used to suppress the generation of Idle events.
+ inline void SuppressIdleEvents(bool arg = TRUE) { m_suppressIdleEvents = arg; }
+ inline bool GetSuppressIdleEvents() const { return m_suppressIdleEvents; }
+
bool m_initialized;
bool m_exitOnFrameDelete;
bool m_wantDebugOutput;
wxWindow *m_topWindow;
gint m_idleTag;
+#if wxUSE_THREADS
+ gint m_wakeUpTimerTag;
+#endif
unsigned char *m_colorCube;
int argc;
wxString m_className;
static wxAppInitializerFunction m_appInitFn;
-
+ private:
+ /// Set to TRUE while we are in wxYield().
+ bool m_suppressIdleEvents;
DECLARE_EVENT_TABLE()
};