[wxlua-users] Getting window class names in wxLuaWinDestroyCallback

2013-08-25 Thread Andreas Falkenhahn
Hi, I'm experiencing some strange behaviour when trying to print class names of wxWindow objects from the wxLuaWinDestroyCallback constructor and destructors. I think this has to do with my lack of knowledge about C++ so I'd be glad if someone could explain to me why this happens. I added the

[wxlua-users] How to easily override wxWindow::Destroy in wxLua

2013-08-25 Thread Andreas Falkenhahn
Hi, this one has to do with my limited C++ skills again: I'm looking for an easy solution for all my wxWindow objects to run some custom code in C++ whenever their wxWindow::Destroy() method gets called. The classic approach would be to create a new class derived from wxWindow that overrides

Re: [wxlua-users] How to easily override wxWindow::Destroy in wxLua

2013-08-25 Thread John Labenski
On Sun, Aug 25, 2013 at 4:24 PM, Andreas Falkenhahn andr...@falkenhahn.comwrote: ... But how should I do it in wxLua? If I'd derive a whole new class from wxWindow I'd have to create new bindings for it etc. This all sounds quite complicated so I'd to know if there is an easier way to hook

Re: [wxlua-users] Difference between Lua and wxLua executable

2013-08-25 Thread John Labenski
On Fri, Aug 23, 2013 at 7:04 PM, Paul K paulclin...@yahoo.com wrote: Hi John, After that wxlua and lua produce the same (calendar) results. You can also tweak the manifest before embedding it to see the effect. Were you able to reproduce the same effect? No, my last commit actually

Re: [wxlua-users] How to accept drag and drop files on all platforms?

2013-08-25 Thread John Labenski
On Fri, Aug 23, 2013 at 2:16 AM, Paul K paulclin...@yahoo.com wrote: Anyone has an example that allows to accept a filename after DD that works on Windows/OSX/Linux? Nobody knows? John? I'll be happy with any hints I can try... Sorry yes, I looked into this, but it does require a few more

Re: [wxlua-users] How to accept drag and drop files on all platforms?

2013-08-25 Thread Paul K
Hi John, Sorry yes, I looked into this, but it does require a few more virtual functions in wxFileDropTarget. I believe that it should be pretty easy. Are you saying that it would be pretty easy for you to add them or that it will be pretty easy after you add them ;). In any case, I'd