Hi,

John Labenski wrote:
> [snip]
> Anyway... The name of this function, "Delete()", is *very* generic and
> will probably conflict with some class function eventually and I'm
> surprised it hasn't already.
> 

o = wx.wxXXX(...)
o:Destroy()   is better due to wx naming?

- If XXX class has a cpp Destroy method, it is already doing what we want
- If not then we supply this method for Lua


> What if we rename it to "delete()", lower case, since that is a NOT a
> valid name for a class member function (I just tried it) and so there
> cannot be a conflict with anything that ever gets bound by wxLua.
> 
> This will also match the "new(...)" function that you can now use for
> class constructors.
> 

Is it possible to have both?

new - delete
... - Destroy


> Regards,
>     John Labenski
> 


--
Regards,
Hakki Dogusan

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

Reply via email to