From: John L. <jr...@us...> - 2007-06-30 00:12:32
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv9448/wxLua/modules/wxluadebug/src Modified Files: wxlstack.cpp Log Message: Fix for MingW added in wxWidgets bindings for wxDefaultPoint and wxEVT_FILEPICKER/DIRPICKER... Rename the functions to get the type names from wxLua to match closer to the lua type() function, wxlua.i Change op_add_assign to just op_iadd (others as well) = op_assign is now op_set Index: wxlstack.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxlstack.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** wxlstack.cpp 28 Jun 2007 22:45:57 -0000 1.10 --- wxlstack.cpp 30 Jun 2007 00:12:26 -0000 1.11 *************** *** 462,467 **** wxLuaStackListData* stkListData = new wxLuaStackListData(n, debugData); info.SetData(stkListData); // we must delete this - int img = SetupListItem(item, info); if ((img == IMG_TABLE) || (img == IMG_TABLE_OPEN)) { --- 462,467 ---- wxLuaStackListData* stkListData = new wxLuaStackListData(n, debugData); info.SetData(stkListData); // we must delete this int img = SetupListItem(item, info); + if ((img == IMG_TABLE) || (img == IMG_TABLE_OPEN)) { *************** *** 784,791 **** if (!debugItem->GetFlagBit(WXLUA_DEBUGITEM_EXPANDED)) { ! ExpandItem(event.GetIndex()); ! // Hack for WXLUA_STACK_MSWTREE, need children to expand ! if (stkListData->m_treeId && !m_treeCtrl->IsExpanded(stkListData->m_treeId)) ! m_treeCtrl->Expand(stkListData->m_treeId); } else --- 784,793 ---- if (!debugItem->GetFlagBit(WXLUA_DEBUGITEM_EXPANDED)) { ! if (ExpandItem(event.GetIndex())) ! { ! // Hack for WXLUA_STACK_MSWTREE, need children to expand ! if (stkListData->m_treeId && !m_treeCtrl->IsExpanded(stkListData->m_treeId)) ! m_treeCtrl->Expand(stkListData->m_treeId); ! } } else *************** *** 829,833 **** // Check and block linked tables already shown, select it and return ! if (debugItem->GetType() == wxT("Table")) { wxString val = debugItem->GetValue(); --- 831,835 ---- // Check and block linked tables already shown, select it and return ! if (debugItem->GetType() == wxT("table")) { wxString val = debugItem->GetValue(); |