[wxlua-users] How to get a C++ class from a wxLua object?

2010-05-19 Thread Mateusz Czaplinski
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

Re: [wxlua-users] How to get a C++ class from a wxLua object?

2010-05-19 Thread John Labenski
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

Re: [wxlua-users] Drag and Drop suport

2010-05-19 Thread John Labenski
On Tue, May 18, 2010 at 10:04 AM, marcos marcos...@yahoo.com.br wrote: Hello list, A need to transfer data between two wxListBox using dragging. wxLua have problem with DnD suport. How can I do this? Can you use wxWindow::SetDropTarget() as per this overview?