Hi John,

John Labenski wrote:

I'm using gtk2 in unicode w/ wxWidgets CVS head.
Oke did not test on linux, but did add your changes.


The sample works a little because i changed the order of registering
bindings,
but this does not solve anything.

It works well for me after regenerating the bindings (I removed the
wx_XXX stuff), I haven't tested everything though or look too much at
the code.

No nothing has changed, if i change the order of registration again

void wxLuaState::RegisterBindings(bool registerTypes)
{
.....................
for (node = M_WXLSTATEDATA->m_bindings.GetFirst(); node; node = node->GetNext() ) //for (node = M_WXLSTATEDATA->m_bindings.GetLast(); node; node = node->GetPrevious() )

It does not work anymore. Run the script i wxluacan/scripts, and you will see it.
I think the problem is as i explained in the other mails.
Also when you run that script and add a rectangle that way, and next close the program,
you should get a crash.

I've attached my Makefile (using wx-config) and an updated
wxlcan.rules.in file that uses simpler paths, just "." will suffice
since you want them in the current dir anyway. See also the genwxbind
tag in the Makefile, eg "$make genwxbind" to generate them.
Will add that makefile too. I assume it is used/generated by bakefile?

It looks really great, no flicker at all!
Right, same structure as in wxArt2d, but stripped to the bone ;-)
Once we add to CVS, and get it to work really with the bindings, i think we can demo with almost all situations one can encounter in an appplication. The trick is of course in the interactive behaviour, which is not only about dialogs and such. Make lua scripts part of canvas objects and going back and forth between C++ and wxLua is a nice thing to demo. But i do need your help do make that happen ;-)

Let me know if things work for you now, I'll try my best to try it
again in windows tomorrow.
Nothing has changed, we need to modify the code in wxLua to make this work.
I understand the problem more or less, but lack the knowledge to make it really work correctly.

I wonder how you used wxLua as is until now. How do you do it?

I just got a newer (but still old) machine
that seems a little flaky, but I managed to get VC Express 2005 on it.
Oke, it might be easier for debugging, but the problem is not the platform here.

regards,

Klaas

--
Unclassified



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to