I recently merged up to the latest wxLua and noticed that I was no longer getting events like wxEVT_LUA_ERROR which I capture to log and display.
I checked the diff of the merge and noticed the changes from commit bde906e39b19f5179c66c44c9b681f40bf4475e0 . I reverted just that commit in my own repo, and the events started working again.
The frame in question is largely based on the wxLuaStandaloneApp with respect to the event handling.
Looks like wxDEFINE_EVENT calls in wxlstate.h could be executed multiple times if included by different modules, so the event IDs are not matching.