2010/5/19 Mateusz Czaplinski <czapko...@gmail.com>: > Hi, > In a C++ function called from Lua, how can I retrieve the regular > wxWidgets class wrapped by wxLua? > Let's say I have a function: > int foo(lua_State* L); > and it is called from Lua, with a (wxLua) wxStaticText object on top
The best place to look is in the bindings. For example, the link below shows the wrappers for the wxWindow type classes. Search for "wxLua_wxStaticText_Wrap" http://wxlua.cvs.sourceforge.net/viewvc/wxlua/wxLua/modules/wxbind/src/wxcore_windows.cpp?view=markup Hope this helps, John ------------------------------------------------------------------------------ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users