John Labenski <[EMAIL PROTECTED]> writes:
>
> For the adventuresome only, make a backup of the current source you
> have in case something is really wrong. I will be away for the next
> few days...
>
> Committed to the CVS head are quite a few changes to how wxLua handles
> overloaded (more than one function with the same name) functions,
> static class member functions, and class member enums.
is this right?
print(config)
print(config.Get(false))
print(config:Get(false))
----------------------- output on the console
userdata: 013A9B50 (wxConfig)
nil
lua: Error while running chunk
wxLua: Expected a boolean for parameter 1, but got 'userdata'.
stack traceback:
[C]: in function 'Get'
C:\Programs\wxWidgets\wxLua\samples\lunedit.wx.lua:3090: in function
<C:\Programs\wxWidgets\wxLua\samples\lunedit.wx.lua:3071>
--------------------
I would expect config.Get(false) to fail
and config:Get(false) to return the nil
not the inverse
Andre
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users