+
+#if wxUSE_UIACTIONSIMULATOR
+ // notifies Yield and Dispatch to wait for at least one event before
+ // returning, this is necessary, because the synthesized events need to be
+ // converted by the OS before being available on the native event queue
+ void SetShouldWaitForEvent(bool should) { m_shouldWaitForEvent = should; }
+#endif