Re: [wxlua-users] Multiple views for wxSTC in wxlua

2013-01-30 Thread Paul K
 Please update from SVN, it should work now. Sorry, I was not correctly
 handling the void* DocPointers pushed as lightuserdata into Lua
 correctly.

Works now; thanks John!

Paul.

On Tue, Jan 29, 2013 at 9:18 PM, John Labenski jlaben...@gmail.com wrote:
 On Tue, Jan 29, 2013 at 1:53 PM, Paul K paulclin...@yahoo.com wrote:
 Hi John,

 I also looked at wxSTEditor::RefEditor (src/stedit.cpp) that has
 similar logic, but it didn't shed any light on why what I am doing
 below is not working.

 local docpointer = e1:GetDocPointer()
 e2:AddRefDocument(docpointer)  crashes here

 Please update from SVN, it should work now. Sorry, I was not correctly
 handling the void* DocPointers pushed as lightuserdata into Lua
 correctly.


 Regards,
  John

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 wxlua-users mailing list
 wxlua-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wxlua-users

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users


Re: [wxlua-users] Multiple views for wxSTC in wxlua

2013-01-29 Thread John Labenski
On Tue, Jan 29, 2013 at 1:53 PM, Paul K paulclin...@yahoo.com wrote:
 Hi John,

 I also looked at wxSTEditor::RefEditor (src/stedit.cpp) that has
 similar logic, but it didn't shed any light on why what I am doing
 below is not working.

 local docpointer = e1:GetDocPointer()
 e2:AddRefDocument(docpointer)  crashes here

Please update from SVN, it should work now. Sorry, I was not correctly
handling the void* DocPointers pushed as lightuserdata into Lua
correctly.


Regards,
 John

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users