[wxlua-users] client data in wxChoice

2014-01-27 Thread Moses McKnight
Hi, I am using wxlua which is embedded in a program using wxwidgets 2.8.12. I am trying to set client data to items in a wxChoice something like this like this: somenumber = 3 cbJointType:Append(Bevel, somenumber) But if I try to get the client data later it just always returns 0. According

Re: [wxlua-users] bindings.wx.lua correction

2014-01-27 Thread John Labenski
On Sun, Jan 5, 2014 at 10:20 AM, Andre Arpin ar...@kingston.net wrote: please change line 512 to: t[i][3] = string.format(0x%X, t[i][2] 0 and 2^32 + t[i][2] or t[i][2]) Thanks for the patch, applied to svn head. Regards, John or t[i][3] = string.format(((t[i][2] 0) and '-' or

Re: [wxlua-users] Deprecated: GetBeginIter(), GetEndIter1() and GetEndIter2()

2014-01-27 Thread John Labenski
On Sun, Jan 5, 2014 at 10:09 PM, Paul K paulclin...@yahoo.com wrote: Hi John, It appears that GetBeginIter(), GetEndIter1() and GetEndIter2() have been deprecated in the favor of GetBeginIter(), GetEndIter1() and GetEndIter2(). #if WXWIN_COMPATIBILITY_2_8 // use GetBeginIter(),

Re: [wxlua-users] Deprecated: GetBeginIter(), GetEndIter1() and GetEndIter2()

2014-01-27 Thread Paul K
I have started to update wxLua for wxWidgets 3.0 without WX_COMPATIBILITY_2_8 defined, but there are far more changes than I expected and it will take a few more days. Great; thank you. Note that wxLua builds ok with compat 28 defined in wx30. Right; this is exactly how I compiled it and

Re: [wxlua-users] How to provide wxApp::MacNewFile, wxApp::MacOpenFiles, and wxApp:MacReopenApp methods?

2014-01-27 Thread John Labenski
On Wed, Jan 22, 2014 at 1:57 PM, Paul K paulclin...@yahoo.com wrote: Hi John, I'm looking for a way to provide MacNewFile, MacOpenFiles, and MacReopenApp methods (http://docs.wxwidgets.org/trunk/classwx_app.html), but can't figure out how to do this in wxlua and don't see this in any of

Re: [wxlua-users] How to implement URLDropTarget similar to wxLuaFileDropTarget

2014-01-27 Thread John Labenski
On Thu, Jan 23, 2014 at 10:24 PM, Paul K paulclin...@yahoo.com wrote: Hi John, Thank you for adding wxLuaFileDropTarget and TextDropTarget; these work well for me. Now I'm trying to detect URLs dropped from the browser, but I can't it to work. I'm looking at an example here (

Re: [wxlua-users] client data in wxChoice

2014-01-27 Thread John Labenski
On Mon, Jan 27, 2014 at 8:33 PM, Moses McKnight mo...@texband.net wrote: Hi, I am using wxlua which is embedded in a program using wxwidgets 2.8.12. I am trying to set client data to items in a wxChoice something like this like this: somenumber = 3 cbJointType:Append(Bevel, somenumber)

Re: [wxlua-users] How to provide wxApp::MacNewFile, wxApp::MacOpenFiles, and wxApp:MacReopenApp methods?

2014-01-27 Thread Paul K
Hi John, I'm looking for a way to provide MacNewFile, MacOpenFiles, and MacReopenApp methods They need to be added, it should be doable. This would be great; thank you! I'll try to remember, these. I'm glad you have an alternative for wxRegKey, I would rather not add it. CallAfter() may