From: John L. <jr...@us...> - 2007-06-18 21:40:56
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32406/wxLua/modules/wxlua/src Modified Files: wxlbind.cpp Log Message: Fix last commit of trying to preserve the order of the binding conditions, this way works. Index: wxlbind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlbind.cpp,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** wxlbind.cpp 18 Jun 2007 19:51:38 -0000 1.78 --- wxlbind.cpp 18 Jun 2007 21:40:52 -0000 1.79 *************** *** 252,257 **** wxLuaBindClass *wxlClass = (wxLuaBindClass *)lua_touserdata(L, lua_upvalueindex(1)); - long key = -1; - if ((wxlClass != NULL) && wxlua_iswxuserdata(L, 1) && (wxlua_ttag(L, 1) == *wxlClass->class_tag)) { --- 252,255 ---- |