// add an event to be processed later
void AddPendingEvent(wxEvent& event);
- // process all pending events
void ProcessPendingEvents();
#if wxUSE_THREADS
void SetClientData( void *data ) { DoSetClientData(data); }
void *GetClientData() const { return DoGetClientData(); }
+ // reentrance guard
+ void AllowReentrance( bool allow = true ) { m_reentranceAllowed = allow; }
+ bool IsReentranceAllowed() { return m_reentranceAllowed; }
+ bool IsEventHandlingInProgress() { return m_eventHandlingInProgress; }
+
// check if the given event table entry matches this event and call the
// handler if it does
//
# endif
#endif
+ bool m_reentranceAllowed; // Reentrance is allowed for this handler?
+ bool m_eventHandlingInProgress; // Eventhandling is in progress?
+
// Is event handler enabled?
bool m_enabled;