From: John L. <jr...@us...> - 2008-02-26 14:51:38
|
Update of /cvsroot/wxlua/wxLua/modules/wxbind/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31432/wxLua/modules/wxbind/src Modified Files: wxadv_bind.cpp Log Message: Fix wxLua_wxGrid_GetCellSize to not call GetCellAlignment. Index: wxadv_bind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxbind/src/wxadv_bind.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** wxadv_bind.cpp 31 Jan 2008 04:34:07 -0000 1.12 --- wxadv_bind.cpp 26 Feb 2008 14:51:34 -0000 1.13 *************** *** 8251,8255 **** // get this wxGridCellAttr *self = (wxGridCellAttr *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGridCellAttr); ! // call GetAlignment self->GetSize(&num_rows, &num_cols); --- 8251,8255 ---- // get this wxGridCellAttr *self = (wxGridCellAttr *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGridCellAttr); ! // call GetSize self->GetSize(&num_rows, &num_cols); *************** *** 11102,11107 **** // get this wxGrid *self = (wxGrid *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGrid); ! // call GetCellAlignment ! self->GetCellAlignment(row, col, &num_rows, &num_cols); // push results lua_pushnumber(L, num_rows); --- 11102,11107 ---- // get this wxGrid *self = (wxGrid *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGrid); ! // call GetCellSize ! self->GetCellSize(row, col, &num_rows, &num_cols); // push results lua_pushnumber(L, num_rows); |