Re: [wxlua-users] Dynamic cast to Lua classes

2016-05-16 Thread Paul K
> 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

[wxlua-users] Dynamic cast to Lua classes

2016-05-06 Thread Paul K
Hi John, As I've been working through the code to figure out how to inherit a new class from wxApp (similar to how wxLuaPrintout inherits from wxPrintout), I wondered if it's possible to do most of it at the Lua level (with a bit of help from C++). If the binding generator identifies all