// turn off this typemap
%typemap(out) wxEvtHandler*;
+ %pythonAppend wxEvtHandler "self._setOORInfo(self)"
wxEvtHandler();
// Turn it back on again
// process all pending events
void ProcessPendingEvents();
+ // reentrance guard
+ void AllowReentrance( bool allow = true );
+ bool IsReentranceAllowed();
+ bool IsEventHandlingInProgress();
+
%extend {
// Dynamic association of a member function handler with the event handler
void Connect( int id, int lastId, int eventType, PyObject* func) {
return event.Unbind(self, id, id2)
}
+ %property(EvtHandlerEnabled, GetEvtHandlerEnabled, SetEvtHandlerEnabled, doc="See `GetEvtHandlerEnabled` and `SetEvtHandlerEnabled`");
+ %property(NextHandler, GetNextHandler, SetNextHandler, doc="See `GetNextHandler` and `SetNextHandler`");
+ %property(PreviousHandler, GetPreviousHandler, SetPreviousHandler, doc="See `GetPreviousHandler` and `SetPreviousHandler`");
};