Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv6284/wxLua/modules/wxbindstc/src
Modified Files:
stc.cpp wxstc_bind.cpp
Log Message:
use wxList::compatibility_iterator not wxNode* for wxUSE_STL == 1 and 0
Index: wxstc_bind.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/src/wxstc_bind.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** wxstc_bind.cpp 15 Mar 2007 23:24:58 -0000 1.19
--- wxstc_bind.cpp 19 Mar 2007 03:47:21 -0000 1.20
***************
*** 1564,1568 ****
{
static wxLuaBinding_wxstc m_binding;
! wxLuaBindingList::Node *node = wxLuaBinding::GetBindingList()->Find(&m_binding);
if (node && (node->GetData() == &m_binding))
return false;
--- 1564,1568 ----
{
static wxLuaBinding_wxstc m_binding;
! wxLuaBindingList::compatibility_iterator node = wxLuaBinding::GetBindingList()->Find(&m_binding);
if (node && (node->GetData() == &m_binding))
return false;
Index: stc.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/src/stc.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** stc.cpp 15 Mar 2007 23:24:57 -0000 1.29
--- stc.cpp 19 Mar 2007 03:47:20 -0000 1.30
***************
*** 7580,7586 ****
#endif // wxLUA_USE_wxPointSizeRect
};
! int wxStyledTextCtrl_methodCount = sizeof(wxStyledTextCtrl_methods)/sizeof(wxStyledTextCtrl_methods[0]);
// ---------------------------------------------------------------------------
--- 7580,7587 ----
#endif // wxLUA_USE_wxPointSizeRect
+ { LuaMethod, 0, 0, 0, 0 },
};
! int wxStyledTextCtrl_methodCount = sizeof(wxStyledTextCtrl_methods)/sizeof(wxStyledTextCtrl_methods[0]) - 1;
// ---------------------------------------------------------------------------
***************
*** 8387,8392 ****
{ LuaSetProp, "Y", wxLua_wxStyledTextEvent_SetY, 1, 1, s_wxluaargArray_None },
{ LuaConstructor, "wxStyledTextEvent", wxLua_wxStyledTextEvent_constructor, 2, 0, s_wxluatagArray_wxLua_wxStyledTextEvent_constructor },
};
! int wxStyledTextEvent_methodCount = sizeof(wxStyledTextEvent_methods)/sizeof(wxStyledTextEvent_methods[0]);
--- 8388,8394 ----
{ LuaSetProp, "Y", wxLua_wxStyledTextEvent_SetY, 1, 1, s_wxluaargArray_None },
{ LuaConstructor, "wxStyledTextEvent", wxLua_wxStyledTextEvent_constructor, 2, 0, s_wxluatagArray_wxLua_wxStyledTextEvent_constructor },
+ { LuaMethod, 0, 0, 0, 0 },
};
! int wxStyledTextEvent_methodCount = sizeof(wxStyledTextEvent_methods)/sizeof(wxStyledTextEvent_methods[0]) - 1;
|