Own Event class to operate not only with wxWidgets events.