From: John L. <jr...@us...> - 2005-12-29 20:11:19
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20721 Modified Files: wxlbind.h Log Message: add virtual wxLuaBind::Clone function to get a "new" instance of a binding Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** wxlbind.h 22 Dec 2005 18:42:34 -0000 1.8 --- wxlbind.h 29 Dec 2005 20:11:11 -0000 1.9 *************** *** 123,126 **** --- 123,129 ---- virtual ~wxLuaBinding() {} + // override this to generate a "new" version of subclassed bindings + virtual wxLuaBinding* Clone() const { return new wxLuaBinding; } + // lua namespace e.g. "wx" wxString nameSpace; |