From: k. h. <kla...@nl...> - 2006-01-17 14:43:04
|
And is i reverse the registration of the binding like this: // Register bindings wxLuaBindingList::Node *node; for (node = M_WXLSTATEDATA->m_bindings.GetLast(); node; node = node->GetPrevious() ) { wxLuaBinding* binding = node->GetData(); binding->RegisterBinding(L, registerTypes); } It is calling wxlCanObj::GetPaperSize, so the opposite, but still wrong. 5:30:44: class wxlCanObj function GetPaperSize 15:30:56: wxLua_lua_getTableFunc 'GetPaperSize' pClass 11310688, userdata 1, lightuserdata 0, ttag 4, class_tag 4 lua_State 26287736 wxLuaStateRefData 26278328 Klaas k. holwerda wrote: > Hi, > > I think there is someting wrong with the whole binding registration, > and that because of that things get mixed up. > -- Unclassified |