From: John L. <jr...@us...> - 2008-01-31 04:34:11
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv20345/wxLua/modules/wxlua/include Modified Files: wxlbind.h Log Message: Added wxLuaGridTableBase and it's sample gridtable.wx.lua. Thanks to Hakki Dogusan. Index: wxlbind.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/include/wxlbind.h,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** wxlbind.h 26 Jan 2008 23:27:25 -0000 1.83 --- wxlbind.h 31 Jan 2008 04:34:07 -0000 1.84 *************** *** 364,367 **** --- 364,375 ---- } + // The wxGridWorker classes have protected destructors, use DecRef(). + #define wxLUA_IMPLEMENT_wxGridCellWorker_ENCAPSULATION(className, objName) \ + IMPLEMENT_ABSTRACT_CLASS(wxLua_wxObject_##objName, wxObject) \ + wxLua_wxObject_##objName::~wxLua_wxObject_##objName() \ + { \ + m_p##objName->DecRef(); \ + } + // ---------------------------------------------------------------------------- // wxLuaSmartStringArray - Wraps a "new" array of wxStrings with an automatic |