From: Paul K <pau...@ya...> - 2016-05-17 00:46:27
|
> I'm trying to use wxEVT_LUA_ERROR and wxEVT_LUA_PRINT form the Lua code, but can't find any examples on how to set it up. I figured out how to do this; the events are in wxlua namespace, so the following works for me: wx.wxGetApp():Connect(wxlua.wxEVT_LUA_ERROR, function(event) --[[ do something with event:GetString() ]] end) Paul. |