From: Darwin S. <dar...@ho...> - 2006-05-23 20:20:49
|
Hello, First of all thanks for such a great quality library - keep up the great work. I have just started using wxlua in the GUI layer of my C++ app. I have been using tolua++ to provide the bindings to classes in my data layer. I was hoping to use some wx classes in my data layer e.g. wxString, but these objects just appear as userdata in the lua runtime e.g. calling the following function binded to by tolua++ returns userdata: wxString getName(); Is there anyway that tolua++ bindings and the wxlua can co-exist? Can I recast this userdata to a wxString within the lua environment? Hope this hasn't been covered already! Regards, D. Slattery |