The code created by wxSmith can not work, because wxEventType is internally an int ("typedef int wxEventType;") and newly created events are generated with the increment operator.
So putting multiple events together with "|" can never do what you expect.
The best way would be to use the event_table, otherwise all events have to be connected one by one (if "Connect()" shall be used all events have to be connected as if you chose them manually and connect them all with the same event handler).