Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31712/wxLua/modules/wxluadebug/src
Modified Files:
wxlstack.cpp
Log Message:
AMD64 fixes
Index: wxlstack.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxlstack.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** wxlstack.cpp 18 Jun 2007 18:37:47 -0000 1.8
--- wxlstack.cpp 19 Jun 2007 13:58:16 -0000 1.9
***************
*** 32,36 ****
#endif
! // Define our own flag to help track down where we've hacked thing to work
// equally well with the treectrl for MSW
#if defined(__WXMSW__)
--- 32,36 ----
#endif
! // Define our own flag to help track down where we've hacked thing to work
// equally well with the treectrl for MSW
#if defined(__WXMSW__)
***************
*** 135,139 ****
m_stackChoice = new wxChoice( panel, ID_WXLUA_STACK_CHOICE,
wxDefaultPosition, wxDefaultSize,
! 0, NULL );
m_stackChoice->SetToolTip(wxT("Select lua stack to display."));
--- 135,139 ----
m_stackChoice = new wxChoice( panel, ID_WXLUA_STACK_CHOICE,
wxDefaultPosition, wxDefaultSize,
! 0, NULL, 0, wxDefaultValidator ); // help GCC find which fn to call
m_stackChoice->SetToolTip(wxT("Select lua stack to display."));
***************
*** 471,475 ****
// add dummy item for MSW to expand properly, also it shows that
! // there's nothing in this level if they try to expand it and there
// aren't any real items (see below)
m_treeCtrl->AppendItem(id, DUMMY_TREEITEM);
--- 471,475 ----
// add dummy item for MSW to expand properly, also it shows that
! // there's nothing in this level if they try to expand it and there
// aren't any real items (see below)
m_treeCtrl->AppendItem(id, DUMMY_TREEITEM);
***************
*** 500,504 ****
#if !defined(WXLUA_STACK_MSWTREE)
// Cannot expand hidden root, nor can you check it
! if (treeId &&
((treeId != m_treeCtrl->GetRootItem()) || ((m_treeCtrl->GetWindowStyle() & wxTR_HIDE_ROOT) == 0)) &&
!m_treeCtrl->IsExpanded(treeId))
--- 500,504 ----
#if !defined(WXLUA_STACK_MSWTREE)
// Cannot expand hidden root, nor can you check it
! if (treeId &&
((treeId != m_treeCtrl->GetRootItem()) || ((m_treeCtrl->GetWindowStyle() & wxTR_HIDE_ROOT) == 0)) &&
!m_treeCtrl->IsExpanded(treeId))
|