From: John L. <jr...@us...> - 2005-11-29 05:45:17
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21610/wxLua/bindings/wxwidgets Modified Files: override.hpp wx.rules Log Message: Makefile - lib order is important cleanup in lconsole, wxlua app all static int s_wxXXX lua tags now s_wxluatag_wxXXX to make them easier to find functions to get the structs with the bindings are prepended with wxLuaXXX DECLARE/IMPLEMENT_CLASS replaced with either XXX_ABSTRACT/DYNAMIC_CLASS window ids for the stacktree now ID_WXLUA_XXX Index: override.hpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/override.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** override.hpp 25 Nov 2005 10:09:10 -0000 1.4 --- override.hpp 29 Nov 2005 05:45:09 -0000 1.5 *************** *** 6,10 **** { // get this ! wxPoint *self = ( wxPoint * ) getuserdatatype(L, 1, s_wxPoint ); // push the result number lua_pushnumber(L, self->x); --- 6,10 ---- { // get this ! wxPoint *self = ( wxPoint * ) getuserdatatype(L, 1, s_wxluatag_wxPoint ); // push the result number [...3064 lines suppressed...] returns = (long)self->m_pItem; --- 4116,4120 ---- double returns; // get this ! wxTreeItemId *self = ( wxTreeItemId * ) getuserdatatype(L, 1, s_wxluatag_wxTreeItemId ); // call GetValue returns = (long)self->m_pItem; *************** *** 4133,4137 **** long value = (long) getnumbertype(L, 2); // get this ! wxTreeItemId *self = ( wxTreeItemId * ) getuserdatatype(L, 1, s_wxTreeItemId ); // call SetValue self->m_pItem = (void *) value; --- 4133,4137 ---- long value = (long) getnumbertype(L, 2); // get this ! wxTreeItemId *self = ( wxTreeItemId * ) getuserdatatype(L, 1, s_wxluatag_wxTreeItemId ); // call SetValue self->m_pItem = (void *) value; Index: wx.rules =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wx.rules,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wx.rules 28 Nov 2005 06:05:08 -0000 1.7 --- wx.rules 29 Nov 2005 05:45:09 -0000 1.8 *************** *** 12,25 **** hook_binding_class = hook_namespace.."_Binding" -- wxLuaBinding class hook_define_file = hook_namespace.."_define" ! hook_define_fn = "GetDefineList_"..hook_namespace hook_object_file = hook_namespace.."_object" ! hook_object_fn = "GetObjectList_"..hook_namespace hook_event_file = hook_namespace.."_event" ! hook_event_fn = "GetEventList_"..hook_namespace hook_builtin_file = hook_namespace.."_builtin" ! hook_builtin_fn = "GetBuiltinList_"..hook_namespace hook_class_file = hook_namespace.."_class" ! hook_class_fn = "GetClassList_"..hook_namespace hook_header_file = "wxbind/include/wxbind.h" override_file = "override.hpp" -- bindings to override --- 12,26 ---- hook_binding_class = hook_namespace.."_Binding" -- wxLuaBinding class hook_define_file = hook_namespace.."_define" ! hook_define_fn = "wxLuaGetDefineList_"..hook_namespace hook_object_file = hook_namespace.."_object" ! hook_object_fn = "wxLuaGetObjectList_"..hook_namespace hook_event_file = hook_namespace.."_event" ! hook_event_fn = "wxLuaGetEventList_"..hook_namespace hook_builtin_file = hook_namespace.."_builtin" ! hook_builtin_fn = "wxLuaGetBuiltinList_"..hook_namespace hook_class_file = hook_namespace.."_class" ! hook_class_fn = "wxLuaGetClassList_"..hook_namespace hook_header_file = "wxbind/include/wxbind.h" + override_file = "override.hpp" -- bindings to override |