From: John L. <jr...@us...> - 2005-11-25 22:00:47
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22256/wxLua/modules/wxluadebug/src Modified Files: splttree.cpp Log Message: make it compile in VS6, wxLua is a windows app NOT console Index: splttree.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/splttree.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** splttree.cpp 17 Nov 2005 05:51:21 -0000 1.4 --- splttree.cpp 25 Nov 2005 22:00:36 -0000 1.5 *************** *** 444,448 **** --- 444,453 ---- wxTreeItemIdValue cookie; wxTreeItemId childId = GetFirstChild(id, cookie); + + #if wxCHECK_VERSION(2,7,0) + while (childId != wxTreeItemId((void*)0)) + #else //!wxCHECK_VERSION(2,7,0) while (childId != wxTreeItemId((long)0)) + #endif //wxCHECK_VERSION(2,7,0) { CalcTreeSize(childId, rect); |