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
of the Lua stack. How can I access the underlying C++ wxStaticText
class and e.g. call SetLabel(...)?
I have read the "wxLua C++ Programming Guide" section of wxlua.html,
but unfortunately I had trouble understanding it. I'd be very grateful
for an answer, especially for a fragment of code that could be used as
the body of the 'foo' function above.

Greetings
Mateusz CzapliƄski

------------------------------------------------------------------------------

_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to