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.
static class member functions:
wx.ClassName_StaticMemberFunc is now wx.ClassName.StaticMemberFunc
class member enums
wx.ClassName_MemberEnum is now wx.ClassName.MemberEnum
Overloaded functions are now generated automatically and which
function to call is automatically determined. This means that
previously %renamed functions or constructors probably use the C++
function name.
Examples :
wxEmptyBitmap(w, h) is now wxBitmap(w, h)
wxBitmapFromFile('name') is now wxBitmap('name')
wxSizer::AddWindow and AddSizer is now just Add(...)
wxPenCopy(otherPen) is now just wxPen(otherPen)
Also the %property tag was removed and they are generated on the fly at runtime.
There is a list of what has changed in the docs/changelog.txt file
here, which does not exaustively list the individual function changes
(too many), but lists what was changed overall.
http://wxlua.cvs.sourceforge.net/wxlua/wxLua/docs/
See also wxluaref.html, wxlua.html, and bindings.html which have been
updated as well.
All the samples have been updated and everything seems to work as
planned. I hope everyone agrees that this new way is far better and
though it may be a little painful right now, we won't have to ever do
it again. :)
Finally, there may be a few rough edges with the remaining %renamed
functions and I plan to carefully go though the rest of them to get
rid of anything else that's a little ugly.
Regards,
John Labenski
-------------------------------------------------------------------------
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