From: John L. <jr...@us...> - 2008-02-26 14:51:38
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31432/wxLua/bindings/wxwidgets Modified Files: wxadv_override.hpp Log Message: Fix wxLua_wxGrid_GetCellSize to not call GetCellAlignment. Index: wxadv_override.hpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxadv_override.hpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** wxadv_override.hpp 31 Jan 2008 04:34:02 -0000 1.6 --- wxadv_override.hpp 26 Feb 2008 14:51:34 -0000 1.7 *************** *** 64,68 **** // get this wxGridCellAttr *self = (wxGridCellAttr *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGridCellAttr); ! // call GetAlignment self->GetSize(&num_rows, &num_cols); --- 64,68 ---- // get this wxGridCellAttr *self = (wxGridCellAttr *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGridCellAttr); ! // call GetSize self->GetSize(&num_rows, &num_cols); *************** *** 162,167 **** // 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); --- 162,167 ---- // 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); |