Custom wxpython wich gets the event as a global variable and allows you to have an easyier interaction with events