John Labenski wrote:

On 2/3/06, klaas.holwerda <[EMAIL PROTECTED]> wrote:
Hi Guys,

Thanks for makes the wxluacan corrections, it indeed works nice.
But to bad, there is a problem.
I used wx as namespace to start with, and this works correctly.

heh. I can't get the wxLua app to work in MSW using VC Express 2005.
It doesn't want to run the wxModule that loads the bindings.
Maybe that is the same problem i had first with all those bindings, it is not linked in i think. For some reason, if a module with bindings is not used somehow directly in the application, it is not linked in.
I put a breakpoint on that wxModule binding and it did not arrive there.

I'll take a look at it.
Thanks.

Allow me to ask a question.
I think it would be cool to wxCanObjScript working.
I am thinking of deriving the wxCanvasObj from wxEvtHandler, and that way sent and event to wxLua to draw the object and another to Hittest the object. But maybe that is way to complex. And how to intercept those two functions in wxlua m_script of the object.
In principle m_script in the C++ object, should contain two functions.
On with input parameter a wxDC* etc. and this one is used for  drawing.
The other Is IsHit( x, y etc. ) and is used for hit testing, and return true to C++ if hit.

Now do you have any idea on how to best call those function in m_script from the coresponding C++ functions?

The next step is of course to have the whole derived wxCanObj defined in a lua script.
But one step first ;-)

Thanks,

Klaas














-------------------------------------------------------
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
Wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to